GraphQL Admin API Reference
Queries
client
Description
A client.
Response
Returns a Client
Example
Query
query client {
client {
clientId
scopes {
...ScopeConnectionFragment
}
}
}
Response
{
"data": {
"client": {
"clientId": "xyz789",
"scopes": ScopeConnection
}
}
}
store
Description
A store.
Response
Returns a Store!
Example
Query
query store {
store {
account {
...AccountFragment
}
appExtensions {
...AppExtensionsConnectionFragment
}
id
metafield {
...MetafieldFragment
}
metafields {
...MetafieldsConnectionFragment
}
product {
...ProductFragment
}
products {
...ProductConnectionFragment
}
settings {
...StoreSettingsFragment
}
sharedProductModifiers {
...SharedProductModifierConnectionFragment
}
sharedProductOptions {
...SharedProductOptionConnectionFragment
}
storeHash
storeReferenceId
}
}
Response
{
"data": {
"store": {
"account": Account,
"appExtensions": AppExtensionsConnection,
"id": "4",
"metafield": Metafield,
"metafields": MetafieldsConnection,
"product": Product,
"products": ProductConnection,
"settings": StoreSettings,
"sharedProductModifiers": SharedProductModifierConnection,
"sharedProductOptions": SharedProductOptionConnection,
"storeHash": "abc123",
"storeReferenceId": "abc123"
}
}
}
system
Description
System information.
Response
Returns a System!
Example
Query
query system {
system {
time
}
}
Response
{"data": {"system": {"time": {}}}}
Mutations
appExtension
Description
App Extension mutations.
Response
Returns an AppExtensionMutations!
Example
Query
mutation appExtension {
appExtension {
createAppExtension {
...CreateAppExtensionResultFragment
}
updateAppExtension {
...UpdateAppExtensionResultFragment
}
deleteAppExtension {
...DeleteAppExtensionResultFragment
}
}
}
Response
{
"data": {
"appExtension": {
"createAppExtension": CreateAppExtensionResult,
"updateAppExtension": UpdateAppExtensionResult,
"deleteAppExtension": DeleteAppExtensionResult
}
}
}
metafield
Description
Metafield mutations.
Response
Returns a MetafieldMutations!
Example
Query
mutation metafield {
metafield {
createMetafield {
...CreateMetafieldResultFragment
}
updateMetafield {
...UpdateMetafieldResultFragment
}
deleteMetafield {
...DeleteMetafieldResultFragment
}
reassignMetafieldsOwner {
...ReassignMetafieldsOwnerResultFragment
}
}
}
Response
{
"data": {
"metafield": {
"createMetafield": CreateMetafieldResult,
"updateMetafield": UpdateMetafieldResult,
"deleteMetafield": DeleteMetafieldResult,
"reassignMetafieldsOwner": ReassignMetafieldsOwnerResult
}
}
}
product
Description
Product mutations.
Response
Returns a ProductMutations!
Example
Query
mutation product {
product {
removeProductBasicInformationOverrides {
...RemoveProductBasicInformationOverridesResultFragment
}
removeProductSeoInformationOverrides {
...RemoveProductSeoInformationOverridesResultFragment
}
removeProductOptionsOverrides {
...RemoveProductOptionsOverridesResultFragment
}
removeProductStorefrontDetailsOverrides {
...RemoveProductStorefrontDetailsOverridesResultFragment
}
removeProductPreOrderSettingsOverrides {
...RemoveProductPreOrderSettingsOverridesResultFragment
}
setProductBasicInformation {
...SetProductBasicInformationResultFragment
}
setProductIsFeatured {
...SetProductIsFeaturedResultFragment
}
removeProductIsFeaturedOverride {
...RemoveProductIsFeaturedOverrideResultFragment
}
setProductSeoInformation {
...SetProductSeoInformationResultFragment
}
setProductStorefrontDetails {
...SetProductStorefrontDetailsResultFragment
}
setProductPreOrderSettings {
...SetProductPreOrderSettingsResultFragment
}
setProductOptionsInformation {
...SetProductOptionsInformationResultFragment
}
setProductUrlPath {
...SetProductUrlPathResultFragment
}
removeProductUrlPathOverride {
...RemoveProductUrlPathOverrideResultFragment
}
setProductModifiersInformation {
...SetProductModifiersInformationResultFragment
}
removeProductModifiersOverrides {
...RemoveProductModifiersOverridesResultFragment
}
removeProductCustomFieldsOverrides {
...RemoveProductCustomFieldsOverridesResultFragment
}
}
}
Response
{
"data": {
"product": {
"removeProductBasicInformationOverrides": RemoveProductBasicInformationOverridesResult,
"removeProductSeoInformationOverrides": RemoveProductSeoInformationOverridesResult,
"removeProductOptionsOverrides": RemoveProductOptionsOverridesResult,
"removeProductStorefrontDetailsOverrides": RemoveProductStorefrontDetailsOverridesResult,
"removeProductPreOrderSettingsOverrides": RemoveProductPreOrderSettingsOverridesResult,
"setProductBasicInformation": SetProductBasicInformationResult,
"setProductIsFeatured": SetProductIsFeaturedResult,
"removeProductIsFeaturedOverride": RemoveProductIsFeaturedOverrideResult,
"setProductSeoInformation": SetProductSeoInformationResult,
"setProductStorefrontDetails": SetProductStorefrontDetailsResult,
"setProductPreOrderSettings": SetProductPreOrderSettingsResult,
"setProductOptionsInformation": SetProductOptionsInformationResult,
"setProductUrlPath": SetProductUrlPathResult,
"removeProductUrlPathOverride": RemoveProductUrlPathOverrideResult,
"setProductModifiersInformation": SetProductModifiersInformationResult,
"removeProductModifiersOverrides": RemoveProductModifiersOverridesResult,
"removeProductCustomFieldsOverrides": RemoveProductCustomFieldsOverridesResult
}
}
}
settings
Description
Store settings mutations.
Response
Returns a StoreSettingsMutations
Example
Query
mutation settings {
settings {
dataSolutions {
...DataSolutionsMutationsFragment
}
}
}
Response
{
"data": {
"settings": {"dataSolutions": DataSolutionsMutations}
}
}
Types
Account
Description
An account.
Fields
Field Name | Description |
---|---|
id - ID!
|
The ID of the object. |
Example
{"id": "4"}
AppExtension
Description
The response object for any query or mutation that returns an App Extension.
Fields
Field Name | Description |
---|---|
id - ID!
|
The ID of the object. |
context - AppExtensionContext
|
Defines the action that the control panel performs after the user clicks the App Extension label. |
label - AppExtensionLabel!
|
The locale-aware options for the App Extension menu item link text. |
model - AppExtensionModel
|
The entity type to which the App Extension relates; for example, Orders. |
url - String!
|
A relative path with some meaning to your app, most commonly an internally-defined GET route. The path should contain a supported path parameter that the app expects to be templated into its route, defined as a JavaScript string template literal. For example, '/customer/auth/${id}'. Currently, id is the only supported parameter. Limit 255 characters. |
Example
{
"id": "4",
"context": "LINK",
"label": AppExtensionLabel,
"model": "CUSTOMERS",
"url": "abc123"
}
AppExtensionContext
Description
Defines the action that the control panel performs after the user clicks the App Extension label.
Values
Enum Value | Description |
---|---|
|
The control panel navigates the user away from their current page to the parent app's page, where the app can render App Extension-specific content. |
|
The control panel opens a side panel on the user's current page, where the app can render content without navigating away. |
Example
"LINK"
AppExtensionLabel
Description
An object that contains locale-aware link text for the App Extension URL. The control panel user sees this link text wherever they have the option to open the App Extension.
Fields
Field Name | Description |
---|---|
defaultValue - String!
|
The link text that the user sees when the control panel language is English or a language for which the developer has not defined a label in label.locales . The defaultValue should be in English. Suggested length of ≤25 characters; limit 255 characters. |
locales - [AppExtensionLabelLocale!]!
|
The list of locale-aware link text options for an App Extension, excluding the defaultValue. |
Example
{
"defaultValue": "xyz789",
"locales": [AppExtensionLabelLocale]
}
AppExtensionLabelInput
Description
The label of the App Extension.
Fields
Input Field | Description |
---|---|
defaultValue - String!
|
The link text that the user sees when the control panel language is English or not defined by the developer in label.locales . The defaultValue should be in English. Suggested length of ≤25 characters; limit 255 characters. |
locales - [AppExtensionLabelLocaleInput!]!
|
A list of alternate link text values and their corresponding locale codes. |
Example
{
"defaultValue": "xyz789",
"locales": [AppExtensionLabelLocaleInput]
}
AppExtensionLabelLocale
Description
The locale-specific link text and corresponding locales for an App Extension.
Fields
Field Name | Description |
---|---|
localeCode - String!
|
The locale code for the link text; for example, pt-BR for Portuguese. The locale code should correspond with a control panel-supported language. See the App Extensions documentation for a list of currently supported languages and corresponding locale codes. |
value - String!
|
The link text that the user sees when the control panel language corresponds with the accompanying locale code. Suggested length of ≤25 characters; limit 255 characters. |
Example
{
"localeCode": "xyz789",
"value": "xyz789"
}
AppExtensionLabelLocaleInput
Description
A developer-defined list of alternate link text values and their corresponding locale codes.
Fields
Input Field | Description |
---|---|
localeCode - String!
|
A locale code that corresponds with a control-panel supported language. For example, de-DE for German. See the App Extensions documentation for a list of currently supported languages and corresponding locale codes. |
value - String!
|
The link text value in the language of the locale code. Suggested length of ≤25 characters; limit 255 characters. |
Example
{
"localeCode": "abc123",
"value": "xyz789"
}
AppExtensionModel
Description
The entity type to which an App Extension relates. The path parameter templated into the App Extension URL takes a model property as its argument. For example, an App Extension active on the CUSTOMERS model converts /auth/${id}
into /auth/227
for the customer whose ID value is 227.
Values
Enum Value | Description |
---|---|
|
The App Extension appears on the supported customer-related pages and takes Customer properties as arguments. |
|
The App Extension appears on the supported orders-related pages and takes Orders properties as arguments. |
|
The App Extension appears on the supported products-related pages and takes Products properties as arguments. |
|
The App Extension appears on the description field on supported Edit Products pages and takes Products properties as arguments. |
Example
"CUSTOMERS"
AppExtensionMutations
Description
Mutations that create, update, and delete App Extensions.
Fields
Field Name | Description |
---|---|
createAppExtension - CreateAppExtensionResult
|
Registers a new App Extension to the store and associates it with the requesting API account. |
Arguments
|
|
updateAppExtension - UpdateAppExtensionResult
|
Updates an existing App Extension registered to the store and associates it with the requesting API account. |
Arguments
|
|
deleteAppExtension - DeleteAppExtensionResult
|
Deletes an App Extension that belongs to the store and requesting API account. |
Arguments
|
Example
{
"createAppExtension": CreateAppExtensionResult,
"updateAppExtension": UpdateAppExtensionResult,
"deleteAppExtension": DeleteAppExtensionResult
}
AppExtensionsConnection
Description
A connection to a list of items.
Fields
Field Name | Description |
---|---|
pageInfo - PageInfo!
|
Information to aid in pagination. |
edges - [AppExtensionsEdge]
|
A list of edges. |
Example
{
"pageInfo": PageInfo,
"edges": [AppExtensionsEdge]
}
AppExtensionsEdge
Description
An edge in a connection.
Fields
Field Name | Description |
---|---|
node - AppExtension!
|
The item at the end of the edge. |
cursor - String!
|
A cursor for use in pagination. |
Example
{
"node": AppExtension,
"cursor": "xyz789"
}
Boolean
Description
The Boolean
scalar type represents true
or false
.
Example
true
ChannelLocaleContextInput
CheckboxProductModifier
Description
Checkbox product modifier.
Fields
Field Name | Description |
---|---|
checkedByDefault - Boolean!
|
Indicates whether the modifier is checked by default. |
fieldValue - String
|
Checkbox modifier field value. |
overridesForLocale - CheckboxProductModifierForLocale
|
Overrides for the checkbox product modifier in a channel locale. |
Arguments
|
|
id - ID!
|
The ID of the object. |
displayName - String!
|
Product modifier display name. |
isRequired - Boolean!
|
Indicates whether product modifier is required. |
isShared - Boolean!
|
Indicates whether product modifier is shared or local. |
Example
{
"checkedByDefault": true,
"fieldValue": "xyz789",
"overridesForLocale": CheckboxProductModifierForLocale,
"id": 4,
"displayName": "xyz789",
"isRequired": true,
"isShared": false
}
CheckboxProductModifierForLocale
Client
CreateAppExtensionInput
Fields
Input Field | Description |
---|---|
context - AppExtensionContext!
|
Defines the action that the control panel performs after the user clicks the App Extension label. |
label - AppExtensionLabelInput!
|
The locale-aware link text options for the App Extension's menu item. The control panel user sees this text value wherever they have the option to open the App Extension. |
model - AppExtensionModel!
|
The entity type to which the App Extension relates; for example, Orders. The model corresponds with the page on which the App Extension appears. |
url - String!
|
A relative path with some meaning to your app, most commonly an internally-defined GET route. The path should contain a path parameter that the app expects to be templated into its route, defined as a JavaScript string template expression. For example, /customer/auth/${id} . Currently, id is the only supported parameter. Limit 255 characters. |
Example
{
"context": "LINK",
"label": AppExtensionLabelInput,
"model": "CUSTOMERS",
"url": "xyz789"
}
CreateAppExtensionResult
Fields
Field Name | Description |
---|---|
appExtension - AppExtension
|
The response object properties available after creating an App Extension. |
Example
{"appExtension": AppExtension}
CreateMetafieldInput
Fields
Input Field | Description |
---|---|
namespace - String!
|
Namespace for the metafield. |
resourceId - ID
|
The unique identifier for the resource with which the metafield is associated. |
key - String!
|
The name of the metafield. |
value - String!
|
Value of the metafield. |
description - String
|
Description of the metafield. |
permissionSet - MetafieldsPermissionSet!
|
Determines the visibility and writeability of the field by other API consumers. |
Example
{
"namespace": "xyz789",
"resourceId": "4",
"key": "abc123",
"value": "abc123",
"description": "xyz789",
"permissionSet": "APP_ONLY"
}
CreateMetafieldResult
Fields
Field Name | Description |
---|---|
metafield - Metafield
|
Metafield that was created as a result of mutation. |
Example
{"metafield": Metafield}
DataSolutionsMutations
Description
Data solutions mutations.
Fields
Field Name | Description |
---|---|
updateDataLayer - UpdateDataLayerResult
|
Update data layer configuration. |
Arguments
|
Example
{"updateDataLayer": UpdateDataLayerResult}
DataSolutionsSettings
Description
Data solutions settings.
Fields
Field Name | Description |
---|---|
isDataLayerEnabled - Boolean!
|
Indicates if a data layer(bodl) object is enabled for all storefronts. |
Example
{"isDataLayerEnabled": true}
DateFieldProductModifier
Description
Date field product modifier.
Fields
Field Name | Description |
---|---|
overridesForLocale - DateFieldProductModifierForLocale
|
Overrides for the date field product modifier in a channel locale. |
Arguments
|
|
id - ID!
|
The ID of the object. |
displayName - String!
|
Product modifier display name. |
isRequired - Boolean!
|
Indicates whether product modifier is required. |
isShared - Boolean!
|
Indicates whether product modifier is shared or local. |
Example
{
"overridesForLocale": DateFieldProductModifierForLocale,
"id": "4",
"displayName": "abc123",
"isRequired": false,
"isShared": false
}
DateFieldProductModifierForLocale
Description
Override for a date field product modifier in a channel locale.
Fields
Field Name | Description |
---|---|
displayName - String
|
Display name for the product modifier in a channel locale. |
Example
{"displayName": "xyz789"}
DeleteAppExtensionInput
Fields
Input Field | Description |
---|---|
id - ID!
|
The ID of the object. |
Example
{"id": 4}
DeleteAppExtensionResult
Description
The response object property available after deleting an App Extension; the currently available property is the ID of the deleted App Extension.
Fields
Field Name | Description |
---|---|
deletedAppExtensionId - ID
|
The ID of the object. |
Example
{"deletedAppExtensionId": "4"}
DeleteMetafieldInput
Description
Input for deleteMetafield mutation.
Fields
Input Field | Description |
---|---|
id - ID!
|
The ID of metafield to delete. |
Example
{"id": 4}
DeleteMetafieldResult
Fields
Field Name | Description |
---|---|
deletedMetafieldId - ID
|
The id of metafield that is deleted as a result of mutation. |
Example
{"deletedMetafieldId": "4"}
DropdownOptionValue
DropdownOptionValueForLocale
DropdownProductModifier
Description
Dropdown product modifier.
Fields
Field Name | Description |
---|---|
overridesForLocale - DropdownProductModifierForLocale
|
Overrides for the dropdown product modifier in a channel locale. |
Arguments
|
|
values - [DropdownProductModifierValue!]!
|
Dropdown product modifiers values. |
id - ID!
|
The ID of the object. |
displayName - String!
|
Product modifier display name. |
isRequired - Boolean!
|
Indicates whether product modifier is required. |
isShared - Boolean!
|
Indicates whether product modifier is shared or local. |
Example
{
"overridesForLocale": DropdownProductModifierForLocale,
"values": [DropdownProductModifierValue],
"id": "4",
"displayName": "xyz789",
"isRequired": true,
"isShared": false
}
DropdownProductModifierForLocale
Description
Override for a dropdown product modifier in a channel locale.
Fields
Field Name | Description |
---|---|
displayName - String
|
Display name for the product modifier in a channel locale. |
values - [DropdownProductModifierValueForLocale!]!
|
Modifier values for a dropdown product modifier in a channel locale. |
Example
{
"displayName": "xyz789",
"values": [DropdownProductModifierValueForLocale]
}
DropdownProductModifierValue
Description
Dropdown product modifier value.
Example
{
"id": "4",
"isDefault": true,
"label": "abc123"
}
DropdownProductModifierValueForLocale
DropdownProductOption
Description
Dropdown product option.
Fields
Field Name | Description |
---|---|
displayName - String!
|
Display name for the option. |
isShared - Boolean!
|
Indicates whether product option is shared or local. |
id - ID!
|
The ID of the object. |
overridesForLocale - ProductOptionForLocale
|
Option overrides for a channel locale. |
Arguments
|
|
values - [ProductOptionValue!]!
|
List of product option values. |
Example
{
"displayName": "xyz789",
"isShared": true,
"id": "4",
"overridesForLocale": ProductOptionForLocale,
"values": [ProductOptionValue]
}
DropdownProductOptionForLocale
Description
Override for the dropdown product option in a channel locale.
Fields
Field Name | Description |
---|---|
displayName - String
|
Display name for the product option. |
values - [ProductOptionValueForLocale!]!
|
List of product option values. |
Example
{
"displayName": "abc123",
"values": [ProductOptionValueForLocale]
}
EntityAlreadyExistsError
EntityError
EntityNotFoundError
Error
Description
Common interface for all errors.
Fields
Field Name | Description |
---|---|
message - String!
|
Information about error. |
Possible Types
Error Types |
---|
Example
{"message": "abc123"}
FileUploadProductModifier
Description
File upload product modifier.
Fields
Field Name | Description |
---|---|
overridesForLocale - FileUploadProductModifierForLocale
|
Overrides for the file upload product modifier in a channel locale. |
Arguments
|
|
id - ID!
|
The ID of the object. |
displayName - String!
|
Product modifier display name. |
isRequired - Boolean!
|
Indicates whether product modifier is required. |
isShared - Boolean!
|
Indicates whether product modifier is shared or local. |
Example
{
"overridesForLocale": FileUploadProductModifierForLocale,
"id": "4",
"displayName": "abc123",
"isRequired": false,
"isShared": false
}
FileUploadProductModifierForLocale
Description
Override for a file upload product modifier in a channel locale.
Fields
Field Name | Description |
---|---|
displayName - String
|
Display name for the file upload product modifier in a channel locale. |
Example
{"displayName": "abc123"}
Float
Description
The Float
scalar type represents signed double-precision fractional values as specified by IEEE 754.
Example
987.65
ID
Description
The ID
scalar type represents a unique identifier, often used to re-fetch an object or as key for a cache.
Example
"4"
Int
Description
The Int
scalar type represents non-fractional signed whole numeric values. Int can represent values between -(2^31) and 2^31 - 1.
Example
123
Long
Description
The Long
scalar type represents non-fractional signed whole numeric values. Long can represent values between -(2^63) and 2^63 - 1.
Example
{}
Metafield
Description
A metafield.
Fields
Field Name | Description |
---|---|
id - ID!
|
The ID of the metafield. |
description - String!
|
Metafield description. |
key - String!
|
Metafield key. |
namespace - String!
|
Metafield namespace. |
permissionSet - MetafieldsPermissionSet!
|
Metafield permission set. |
resourceId - ID!
|
Resource id of an entity metafield related to. |
value - String!
|
Metafield value. |
ownerClientId - String!
|
Identifier of metafields owner. |
Example
{
"id": 4,
"description": "xyz789",
"key": "abc123",
"namespace": "abc123",
"permissionSet": "APP_ONLY",
"resourceId": "4",
"value": "abc123",
"ownerClientId": "xyz789"
}
MetafieldMutations
Description
Metafield mutations.
Fields
Field Name | Description |
---|---|
createMetafield - CreateMetafieldResult
|
Create Metafield. |
Arguments
|
|
updateMetafield - UpdateMetafieldResult
|
Update Metafield. |
Arguments
|
|
deleteMetafield - DeleteMetafieldResult
|
Delete Metafield. |
Arguments
|
|
reassignMetafieldsOwner - ReassignMetafieldsOwnerResult
|
Reassign metafields to new client. |
Arguments
|
Example
{
"createMetafield": CreateMetafieldResult,
"updateMetafield": UpdateMetafieldResult,
"deleteMetafield": DeleteMetafieldResult,
"reassignMetafieldsOwner": ReassignMetafieldsOwnerResult
}
MetafieldsConnection
Description
A connection to a list of items.
Fields
Field Name | Description |
---|---|
pageInfo - PageInfo!
|
Information to aid in pagination. |
edges - [MetafieldsEdge]
|
A list of edges. |
Example
{
"pageInfo": PageInfo,
"edges": [MetafieldsEdge]
}
MetafieldsEdge
Description
An edge in a connection.
Fields
Field Name | Description |
---|---|
node - Metafield!
|
The item at the end of the edge. |
cursor - String!
|
A cursor for use in pagination. |
Example
{
"node": Metafield,
"cursor": "xyz789"
}
MetafieldsFiltersInput
Fields
Input Field | Description |
---|---|
namespace - String
|
Namespace for the metafield. |
resourceIds - [ID!]
|
The unique identifier for the resource with which the metafield is associated. |
resourceType - MetafieldsResourceType
|
The type of resource with which the metafield is associated. |
Example
{
"namespace": "xyz789",
"resourceIds": [4],
"resourceType": "BRAND"
}
MetafieldsPermissionSet
Description
Determines the visibility and writeability of the field by other API consumers.
Values
Enum Value | Description |
---|---|
|
Private to the app that owns the field. |
|
Visible to other API consumers. |
|
Visible to other API consumers, including on storefront. |
|
Open for reading and writing by other API consumers. |
|
Open for reading and writing by other API consumers, including on storefront. |
Example
"APP_ONLY"
MetafieldsResourceType
Description
The type of resource with which the metafield is associated.
Values
Enum Value | Description |
---|---|
|
Metafield is associated with brand. |
|
Metafield is associated with cart. |
|
Metafield is associated with category. |
|
Metafield is associated with channel. |
|
Metafield is associated with customer. |
|
Metafield is associated with location. |
|
Metafield is associated with order. |
|
Metafield is associated with product. |
|
Metafield is associated with store. |
|
Metafield is associated with variant. |
Example
"BRAND"
MultilineTextFieldProductModifier
Description
Multiline text field product modifier.
Fields
Field Name | Description |
---|---|
defaultValue - String
|
Default value for the product modifier. |
overridesForLocale - MultilineTextFieldProductModifierForLocale
|
Overrides for the product modifier in a channel locale. |
Arguments
|
|
id - ID!
|
The ID of the object. |
displayName - String!
|
Product modifier display name. |
isRequired - Boolean!
|
Indicates whether product modifier is required. |
isShared - Boolean!
|
Indicates whether product modifier is shared or local. |
Example
{
"defaultValue": "xyz789",
"overridesForLocale": MultilineTextFieldProductModifierForLocale,
"id": 4,
"displayName": "xyz789",
"isRequired": false,
"isShared": true
}
MultilineTextFieldProductModifierForLocale
Description
Override for a multiline text field product modifier in a channel locale.
Example
{
"defaultValue": "abc123",
"displayName": "abc123"
}
NumbersOnlyTextFieldProductModifier
Description
Numbers-only text field product modifier.
Fields
Field Name | Description |
---|---|
defaultValue - Float
|
Default value for the product modifier. |
overridesForLocale - NumbersOnlyTextFieldProductModifierForLocale
|
Overrides for the product modifier in a channel locale. |
Arguments
|
|
id - ID!
|
The ID of the object. |
displayName - String!
|
Product modifier display name. |
isRequired - Boolean!
|
Indicates whether product modifier is required. |
isShared - Boolean!
|
Indicates whether product modifier is shared or local. |
Example
{
"defaultValue": 987.65,
"overridesForLocale": NumbersOnlyTextFieldProductModifierForLocale,
"id": 4,
"displayName": "xyz789",
"isRequired": false,
"isShared": true
}
NumbersOnlyTextFieldProductModifierForLocale
PageInfo
Description
Information about pagination in a connection.
Fields
Field Name | Description |
---|---|
hasNextPage - Boolean!
|
Indicates whether there are more items when paginating forwards. |
hasPreviousPage - Boolean!
|
Indicates whether there are more items when paginating backward. |
startCursor - String
|
The starting cursor when paginating backward. |
endCursor - String
|
The ending cursor when paginating forwards. |
Example
{
"hasNextPage": true,
"hasPreviousPage": false,
"startCursor": "abc123",
"endCursor": "abc123"
}
PickListModifierValue
Description
Pick list product modifier value.
Example
{
"id": 4,
"isDefault": true,
"label": "xyz789"
}
PickListModifierValueForLocale
PickListProductModifier
Description
Pick list product modifier.
Fields
Field Name | Description |
---|---|
overridesForLocale - PickListProductModifierForLocale
|
Overrides for the pick list product modifier in a channel locale. |
Arguments
|
|
values - [PickListModifierValue!]!
|
Values for the product modifier. |
id - ID!
|
The ID of the object. |
displayName - String!
|
Product modifier display name. |
isRequired - Boolean!
|
Indicates whether product modifier is required. |
isShared - Boolean!
|
Indicates whether product modifier is shared or local. |
Example
{
"overridesForLocale": PickListProductModifierForLocale,
"values": [PickListModifierValue],
"id": 4,
"displayName": "xyz789",
"isRequired": false,
"isShared": false
}
PickListProductModifierForLocale
Description
Overrides for the pick list product modifier in a channel locale.
Fields
Field Name | Description |
---|---|
displayName - String
|
Display name for the product modifier. |
values - [PickListModifierValueForLocale!]!
|
Values for the product modifier. |
Example
{
"displayName": "abc123",
"values": [PickListModifierValueForLocale]
}
PreOrderSettings
Description
Product pre-order settings.
Fields
Field Name | Description |
---|---|
message - String
|
Message about a pre-order for a product. |
Example
{"message": "xyz789"}
PreOrderSettingsOverridesForLocale
Description
Overrides for pre-order settings in a channel locale.
Fields
Field Name | Description |
---|---|
message - String
|
Pre-order message in a channel locale. |
Example
{"message": "xyz789"}
Product
Description
A product.
Fields
Field Name | Description |
---|---|
id - ID!
|
The ID of the product. |
basicInformation - ProductBasicInformation!
|
Basic product information. |
isFeatured - Boolean!
|
Indicates whether a product is marked as a featured product. |
modifiers - ProductModifierConnection!
|
List of product modifiers. |
urlPath - ProductUrlPath!
|
Product path. |
options - ProductOptionConnection!
|
List of product options. |
overridesForLocale - ProductOverridesForLocale
|
Overrides for the product in a channel locale. |
Arguments
|
|
overridesForChannel - ProductOverridesForChannel
|
Product overrides for a specific channel. |
Arguments
|
|
seoInformation - ProductSeoInformation!
|
Product SEO information. |
storefrontDetails - StorefrontDetails!
|
Product storefront details. |
preOrderSettings - PreOrderSettings!
|
Product pre-order settings. |
Example
{
"id": "4",
"basicInformation": ProductBasicInformation,
"isFeatured": false,
"modifiers": ProductModifierConnection,
"urlPath": ProductUrlPath,
"options": ProductOptionConnection,
"overridesForLocale": ProductOverridesForLocale,
"overridesForChannel": ProductOverridesForChannel,
"seoInformation": ProductSeoInformation,
"storefrontDetails": StorefrontDetails,
"preOrderSettings": PreOrderSettings
}
ProductBasicInformation
ProductBasicInformationField
Description
Product basic information field names
Values
Enum Value | Description |
---|---|
|
The description field. |
|
The name field. |
Example
"PRODUCT_DESCRIPTION_FIELD"
ProductBasicInformationOverridesForLocale
ProductConnection
Description
A connection to a list of items.
Fields
Field Name | Description |
---|---|
pageInfo - PageInfo!
|
Information to aid in pagination. |
edges - [ProductEdge]
|
A list of edges. |
Example
{
"pageInfo": PageInfo,
"edges": [ProductEdge]
}
ProductEdge
ProductModifier
Description
A product modifier.
Fields
Field Name | Description |
---|---|
id - ID!
|
The ID of the object. |
displayName - String!
|
Product modifier display name. |
isRequired - Boolean!
|
Indicates whether product modifier is required. |
isShared - Boolean!
|
Indicates whether product modifier is shared or local. |
Possible Types
ProductModifier Types |
---|
Example
{
"id": "4",
"displayName": "xyz789",
"isRequired": true,
"isShared": false
}
ProductModifierConnection
Description
A connection to a list of items.
Fields
Field Name | Description |
---|---|
pageInfo - PageInfo!
|
Information to aid in pagination. |
edges - [ProductModifierEdge]
|
A list of edges. |
Example
{
"pageInfo": PageInfo,
"edges": [ProductModifierEdge]
}
ProductModifierEdge
Description
An edge in a connection.
Fields
Field Name | Description |
---|---|
node - ProductModifier!
|
The item at the end of the edge. |
cursor - String!
|
A cursor for use in pagination. |
Example
{
"node": ProductModifier,
"cursor": "abc123"
}
ProductMutations
Description
Product mutations.
Fields
Field Name | Description |
---|---|
removeProductBasicInformationOverrides - RemoveProductBasicInformationOverridesResult
|
Removes overrides for product basic information from a locale. |
Arguments |
|
removeProductSeoInformationOverrides - RemoveProductSeoInformationOverridesResult
|
Removes overrides for product SEO information from a locale. |
Arguments |
|
removeProductOptionsOverrides - RemoveProductOptionsOverridesResult
|
Removes product option overrides from a locale. |
Arguments |
|
removeProductStorefrontDetailsOverrides - RemoveProductStorefrontDetailsOverridesResult
|
Removes overrides for product storefront details from a locale. |
Arguments |
|
removeProductPreOrderSettingsOverrides - RemoveProductPreOrderSettingsOverridesResult
|
Removes overrides for product pre-order settings from a locale. |
Arguments |
|
setProductBasicInformation - SetProductBasicInformationResult
|
Sets product basic information. |
Arguments
|
|
setProductIsFeatured - SetProductIsFeaturedResult
|
Sets whether a product is marked as featured. |
Arguments
|
|
removeProductIsFeaturedOverride - RemoveProductIsFeaturedOverrideResult
|
Removes overrides for whether a product is featured from a locale. |
Arguments |
|
setProductSeoInformation - SetProductSeoInformationResult
|
Sets product SEO information. |
Arguments
|
|
setProductStorefrontDetails - SetProductStorefrontDetailsResult
|
Sets product storefront details. |
Arguments |
|
setProductPreOrderSettings - SetProductPreOrderSettingsResult
|
Sets product pre-order settings. |
Arguments
|
|
setProductOptionsInformation - SetProductOptionsInformationResult
|
Sets product option information. |
Arguments |
|
setProductUrlPath - SetProductUrlPathResult
|
Sets a product URL path. |
Arguments
|
|
removeProductUrlPathOverride - RemoveProductUrlPathOverrideResult
|
Removes overrides for a product URL path from a locale. |
Arguments |
|
setProductModifiersInformation - SetProductModifiersInformationResult
|
Sets product modifier information. |
Arguments |
|
removeProductModifiersOverrides - RemoveProductModifiersOverridesResult
|
Remove product modifier overrides from a locale. |
Arguments |
|
removeProductCustomFieldsOverrides - RemoveProductCustomFieldsOverridesResult
|
Removes overrides for product custom fields from a channel locale. |
Arguments |
Example
{
"removeProductBasicInformationOverrides": RemoveProductBasicInformationOverridesResult,
"removeProductSeoInformationOverrides": RemoveProductSeoInformationOverridesResult,
"removeProductOptionsOverrides": RemoveProductOptionsOverridesResult,
"removeProductStorefrontDetailsOverrides": RemoveProductStorefrontDetailsOverridesResult,
"removeProductPreOrderSettingsOverrides": RemoveProductPreOrderSettingsOverridesResult,
"setProductBasicInformation": SetProductBasicInformationResult,
"setProductIsFeatured": SetProductIsFeaturedResult,
"removeProductIsFeaturedOverride": RemoveProductIsFeaturedOverrideResult,
"setProductSeoInformation": SetProductSeoInformationResult,
"setProductStorefrontDetails": SetProductStorefrontDetailsResult,
"setProductPreOrderSettings": SetProductPreOrderSettingsResult,
"setProductOptionsInformation": SetProductOptionsInformationResult,
"setProductUrlPath": SetProductUrlPathResult,
"removeProductUrlPathOverride": RemoveProductUrlPathOverrideResult,
"setProductModifiersInformation": SetProductModifiersInformationResult,
"removeProductModifiersOverrides": RemoveProductModifiersOverridesResult,
"removeProductCustomFieldsOverrides": RemoveProductCustomFieldsOverridesResult
}
ProductOption
Description
Product option
Fields
Field Name | Description |
---|---|
displayName - String!
|
Display name for the option. |
isShared - Boolean!
|
Indicates whether product option is shared or local. |
id - ID!
|
The ID of the object. |
overridesForLocale - ProductOptionForLocale
|
Option overrides for a channel locale. |
Arguments
|
|
values - [ProductOptionValue!]!
|
List of product option values. |
Possible Types
ProductOption Types |
---|
Example
{
"displayName": "xyz789",
"isShared": false,
"id": "4",
"overridesForLocale": ProductOptionForLocale,
"values": [ProductOptionValue]
}
ProductOptionConnection
Description
A connection to a list of items.
Fields
Field Name | Description |
---|---|
pageInfo - PageInfo!
|
Information to aid in pagination. |
edges - [ProductOptionEdge]
|
A list of edges. |
Example
{
"pageInfo": PageInfo,
"edges": [ProductOptionEdge]
}
ProductOptionEdge
Description
An edge in a connection.
Fields
Field Name | Description |
---|---|
node - ProductOption!
|
The item at the end of the edge. |
cursor - String!
|
A cursor for use in pagination. |
Example
{
"node": ProductOption,
"cursor": "abc123"
}
ProductOptionForLocale
Description
Product option overrides in a channel locale.
Fields
Field Name | Description |
---|---|
displayName - String
|
Display name for the product option. |
values - [ProductOptionValueForLocale!]!
|
List of product option values. |
Possible Types
ProductOptionForLocale Types |
---|
Example
{
"displayName": "abc123",
"values": [ProductOptionValueForLocale]
}
ProductOptionValue
Description
Product option value.
Fields
Field Name | Description |
---|---|
id - ID!
|
ID of the product option value. |
isDefault - Boolean!
|
Indicates whether this value is selected by default. |
label - String!
|
Label for the option value. |
Possible Types
ProductOptionValue Types |
---|
Example
{
"id": 4,
"isDefault": true,
"label": "abc123"
}
ProductOptionValueForLocale
ProductOverridesForChannel
Description
Product overrides for a channel.
Fields
Field Name | Description |
---|---|
isFeatured - Boolean
|
Product isFeatured override for a specific channel. |
Example
{"isFeatured": false}
ProductOverridesForLocale
Description
Product overrides for a channel locale.
Fields
Field Name | Description |
---|---|
basicInformation - ProductBasicInformationOverridesForLocale
|
Basic information override of the product for a channel locale. |
seoInformation - ProductSeoInformationOverridesForLocale
|
Override for product SEO information in a channel locale. |
storefrontDetails - StorefrontDetailsOverridesForLocale
|
Product storefront details. |
urlPath - ProductUrlPathOverridesForLocale
|
Product path override. |
preOrderSettings - PreOrderSettingsOverridesForLocale
|
Pre-order settings override of the product for a channel locale. |
Example
{
"basicInformation": ProductBasicInformationOverridesForLocale,
"seoInformation": ProductSeoInformationOverridesForLocale,
"storefrontDetails": StorefrontDetailsOverridesForLocale,
"urlPath": ProductUrlPathOverridesForLocale,
"preOrderSettings": PreOrderSettingsOverridesForLocale
}
ProductOverridesLocaleContextInput
ProductPreOrderSettingsField
Description
Product pre-order settings field names
Values
Enum Value | Description |
---|---|
|
The pre-order message. |
Example
"PRODUCT_PRE_ORDER_MESSAGE"
ProductSeoInformation
ProductSeoInformationField
Description
Product SEO information field names.
Values
Enum Value | Description |
---|---|
|
The meta description field. |
|
The page title field. |
Example
"PRODUCT_META_DESCRIPTION_FIELD"
ProductSeoInformationOverridesForLocale
Description
Product SEO information overrides in a channel locale.
Example
{
"metaDescription": "abc123",
"pageTitle": "abc123"
}
ProductStorefrontDetailsField
Description
Product storefront details field names
Values
Enum Value | Description |
---|---|
|
The availability description. |
|
The search keywords. |
|
The warranty. |
Example
"PRODUCT_AVAILABILITY_DESCRIPTION_FIELD"
ProductUrlPath
Description
Product URL path.
Fields
Field Name | Description |
---|---|
path - String!
|
Value for the product URL path. |
Example
{"path": "xyz789"}
ProductUrlPathOverridesForLocale
Description
Product path overrides in a channel locale.
Fields
Field Name | Description |
---|---|
path - String
|
Path override value in a channel locale. |
Example
{"path": "abc123"}
ProductsFiltersInput
Fields
Input Field | Description |
---|---|
ids - [ID!]
|
The unique identifiers of the products. |
Example
{"ids": [4]}
RadioButtonsModifierValue
Description
Value of the radio buttons product modifier.
Example
{
"id": "4",
"isDefault": true,
"label": "abc123"
}
RadioButtonsModifierValueForLocale
Description
Overrides for a radio button product modifier value in a channel locale.
Example
{"id": 4, "label": "xyz789"}
RadioButtonsOptionValue
RadioButtonsOptionValueForLocale
RadioButtonsProductModifier
Description
Radio buttons product modifier.
Fields
Field Name | Description |
---|---|
overridesForLocale - RadioButtonsProductModifierForLocale
|
Overrides for the product modifier in a channel locale. |
Arguments
|
|
values - [RadioButtonsModifierValue!]!
|
Product modifier values. |
id - ID!
|
The ID of the object. |
displayName - String!
|
Product modifier display name. |
isRequired - Boolean!
|
Indicates whether product modifier is required. |
isShared - Boolean!
|
Indicates whether product modifier is shared or local. |
Example
{
"overridesForLocale": RadioButtonsProductModifierForLocale,
"values": [RadioButtonsModifierValue],
"id": 4,
"displayName": "xyz789",
"isRequired": false,
"isShared": false
}
RadioButtonsProductModifierForLocale
Description
Overrides for the radio buttons product modifier in a channel locale.
Fields
Field Name | Description |
---|---|
displayName - String
|
Override for the product modifier display name in a channel locale. |
values - [RadioButtonsModifierValueForLocale!]!
|
Override for the product modifier values in a channel locale. |
Example
{
"displayName": "xyz789",
"values": [RadioButtonsModifierValueForLocale]
}
RadioButtonsProductOption
Description
Radio buttons product option.
Fields
Field Name | Description |
---|---|
displayName - String!
|
Display name for the option. |
isShared - Boolean!
|
Indicates whether product option is shared or local. |
id - ID!
|
The ID of the object. |
overridesForLocale - ProductOptionForLocale
|
Option overrides for a channel locale. |
Arguments
|
|
values - [ProductOptionValue!]!
|
List of product option values. |
Example
{
"displayName": "abc123",
"isShared": false,
"id": "4",
"overridesForLocale": ProductOptionForLocale,
"values": [ProductOptionValue]
}
RadioButtonsProductOptionForLocale
Description
Override for the radio buttons product option in a channel locale.
Fields
Field Name | Description |
---|---|
displayName - String
|
Display name for the product option. |
values - [ProductOptionValueForLocale!]!
|
List of product option values. |
Example
{
"displayName": "abc123",
"values": [ProductOptionValueForLocale]
}
ReassignMetafieldOwnerError
Description
Errors that can occure while reassigning metafields owner. One of: EntityNotFound or EntityAlreadyExists.
Types
Union Types |
---|
Example
EntityNotFoundError
ReassignMetafieldsOwnerInput
ReassignMetafieldsOwnerResult
Description
Result of reassigning metafields to new owner.
Fields
Field Name | Description |
---|---|
metafieldIds - [ID!]
|
Ids of metafields that were successfully reassigned to new owner. |
errors - [ReassignMetafieldOwnerError!]!
|
Errors that occurred during metafields reassignment. |
Example
{
"metafieldIds": ["4"],
"errors": [EntityNotFoundError]
}
RectangleListModifierValue
Description
Value for the rectangle list product modifier.
Example
{
"id": 4,
"isDefault": false,
"label": "xyz789"
}
RectangleListModifierValueForLocale
RectangleListOptionValue
RectangleListOptionValueForLocale
RectangleListProductModifier
Description
Rectangle list product modifier.
Fields
Field Name | Description |
---|---|
overridesForLocale - RectangleListProductModifierForLocale
|
Overrides for a rectangle list product modifier in a channel locale. |
Arguments
|
|
values - [RectangleListModifierValue!]!
|
Values for a rectangle list product modifier. |
id - ID!
|
The ID of the object. |
displayName - String!
|
Product modifier display name. |
isRequired - Boolean!
|
Indicates whether product modifier is required. |
isShared - Boolean!
|
Indicates whether product modifier is shared or local. |
Example
{
"overridesForLocale": RectangleListProductModifierForLocale,
"values": [RectangleListModifierValue],
"id": 4,
"displayName": "abc123",
"isRequired": false,
"isShared": true
}
RectangleListProductModifierForLocale
Description
Overrides for a rectangle list product modifier in a channel locale.
Fields
Field Name | Description |
---|---|
displayName - String
|
Display name for the product modifier. |
values - [RectangleListModifierValueForLocale!]!
|
Values for the rectangle list product modifier. |
Example
{
"displayName": "xyz789",
"values": [RectangleListModifierValueForLocale]
}
RectangleListProductOption
Description
Rectangle list product option.
Fields
Field Name | Description |
---|---|
displayName - String!
|
Display name for the option. |
isShared - Boolean!
|
Indicates whether product option is shared or local. |
id - ID!
|
The ID of the object. |
overridesForLocale - ProductOptionForLocale
|
Option overrides for a channel locale. |
Arguments
|
|
values - [ProductOptionValue!]!
|
List of product option values. |
Example
{
"displayName": "abc123",
"isShared": false,
"id": "4",
"overridesForLocale": ProductOptionForLocale,
"values": [ProductOptionValue]
}
RectangleListProductOptionForLocale
Description
Override for a rectangle list product option in a channel locale.
Fields
Field Name | Description |
---|---|
displayName - String
|
Display name for the product option. |
values - [ProductOptionValueForLocale!]!
|
List of product option values. |
Example
{
"displayName": "xyz789",
"values": [ProductOptionValueForLocale]
}
RemoveCheckboxProductModifierOverridesField
Description
Checkbox product modifier overrides field name
Values
Enum Value | Description |
---|---|
|
The display name field. |
|
The value field. |
Example
"CHECKBOX_PRODUCT_MODIFIER_DISPLAY_NAME_FIELD"
RemoveCheckboxProductModifierOverridesInput
Description
Input that removes overrides for the checkbox product modifier from a channel locale.
Fields
Input Field | Description |
---|---|
fields - [RemoveCheckboxProductModifierOverridesField!]
|
Fields for the modifier. |
Example
{"fields": ["CHECKBOX_PRODUCT_MODIFIER_DISPLAY_NAME_FIELD"]}
RemoveDateFieldProductModifierOverridesField
Description
Date field product modifier overrides field name
Values
Enum Value | Description |
---|---|
|
The display name field. |
Example
"DATE_FIELD_PRODUCT_MODIFIER_DISPLAY_NAME_FIELD"
RemoveDateFieldProductModifierOverridesInput
Description
Input that removes overrides for the date field product modifier from a channel locale.
Fields
Input Field | Description |
---|---|
fields - [RemoveDateFieldProductModifierOverridesField!]
|
Fields for the modifier. |
Example
{"fields": ["DATE_FIELD_PRODUCT_MODIFIER_DISPLAY_NAME_FIELD"]}
RemoveDropdownProductModifierOverridesField
Description
Dropdown product modifier overrides field name
Values
Enum Value | Description |
---|---|
|
The display name field. |
Example
"DROPDOWN_PRODUCT_MODIFIER_DISPLAY_NAME_FIELD"
RemoveDropdownProductModifierOverridesInput
Description
Input that removes overrides for the dropdown product modifier from a channel locale.
Fields
Input Field | Description |
---|---|
fields - [RemoveDropdownProductModifierOverridesField!]
|
Fields for the modifier. |
values - RemoveDropdownProductModifierValuesOverridesInput
|
Values for the modifier. |
Example
{
"fields": ["DROPDOWN_PRODUCT_MODIFIER_DISPLAY_NAME_FIELD"],
"values": RemoveDropdownProductModifierValuesOverridesInput
}
RemoveDropdownProductModifierValuesOverridesInput
Description
Input that removes overrides for the values of a dropdown product modifier from a channel locale.
Fields
Input Field | Description |
---|---|
ids - [ID!]!
|
IDs of the modifier values. |
Example
{"ids": ["4"]}
RemoveDropdownProductOptionOverridesField
Description
Dropdown product option overrides field names
Values
Enum Value | Description |
---|---|
|
The display name field. |
Example
"DROPDOWN_PRODUCT_OPTION_DISPLAY_NAME_FIELD"
RemoveDropdownProductOptionOverridesInput
Description
Input that removes overrides for the dropdown product option from a channel locale.
Fields
Input Field | Description |
---|---|
fields - [RemoveDropdownProductOptionOverridesField!]
|
Product option fields that have overrides you want to remove. |
values - RemoveDropdownProductOptionValuesOverridesInput
|
Product option values that have overrides you want to remove. |
Example
{
"fields": ["DROPDOWN_PRODUCT_OPTION_DISPLAY_NAME_FIELD"],
"values": RemoveDropdownProductOptionValuesOverridesInput
}
RemoveDropdownProductOptionValuesOverridesInput
Description
Input that removes overrides for the values of a dropdown product option from a channel locale.
Fields
Input Field | Description |
---|---|
ids - [ID!]!
|
IDs of the product option values that have overrides you want to remove. |
Example
{"ids": [4]}
RemoveFileUploadProductModifierOverridesField
Description
File upload product modifier overrides field name
Values
Enum Value | Description |
---|---|
|
The display name field. |
Example
"FILE_UPLOAD_PRODUCT_MODIFIER_DISPLAY_NAME_FIELD"
RemoveFileUploadProductModifierOverridesInput
Description
Input that removes overrides for the file upload product modifier from a channel locale.
Fields
Input Field | Description |
---|---|
fields - [RemoveFileUploadProductModifierOverridesField!]
|
Fields for the modifier that have overrides you want to remove. |
Example
{"fields": ["FILE_UPLOAD_PRODUCT_MODIFIER_DISPLAY_NAME_FIELD"]}
RemoveMultiLineTextFieldProductModifierOverridesField
Description
MultiLine text field product modifier overrides field name
Values
Enum Value | Description |
---|---|
|
The field default value. |
|
The display name field. |
Example
"MULTILINE_TEXT_FIELD_PRODUCT_MODIFIER_DEFAULT_VALUE_FIELD"
RemoveMultiLineTextFieldProductModifierOverridesInput
Description
Input that removes overrides for the multiline text field product modifier from a channel locale.
Fields
Input Field | Description |
---|---|
fields - [RemoveMultiLineTextFieldProductModifierOverridesField!]
|
Fields for the modifier that have overrides you want to remove. |
Example
{"fields": ["MULTILINE_TEXT_FIELD_PRODUCT_MODIFIER_DEFAULT_VALUE_FIELD"]}
RemoveNumberFieldProductModifierOverridesField
Description
Number field product modifier overrides field name
Values
Enum Value | Description |
---|---|
|
The field value. |
|
The display name field. |
Example
"NUMBER_FIELD_PRODUCT_MODIFIER_DEFAULT_VALUE_FIELD"
RemoveNumberFieldProductModifierOverridesInput
Description
Input that removes overrides for the number-only text field product modifier from a channel locale.
Fields
Input Field | Description |
---|---|
fields - [RemoveNumberFieldProductModifierOverridesField!]
|
Fields for the modifier that have overrides you want to remove. |
Example
{"fields": ["NUMBER_FIELD_PRODUCT_MODIFIER_DEFAULT_VALUE_FIELD"]}
RemovePickListProductModifierOverridesField
Description
Pick list product modifier overrides field name.
Values
Enum Value | Description |
---|---|
|
The display name field. |
Example
"PICK_LIST_PRODUCT_MODIFIER_DISPLAY_NAME_FIELD"
RemovePickListProductModifierOverridesInput
Description
Pick list product modifier overrides input
Fields
Input Field | Description |
---|---|
fields - [RemovePickListProductModifierOverridesField!]
|
Pick list product modifier fields to remove overrides for |
values - RemovePickListProductModifierValueOverridesInput
|
Pick list product modifier values to remove overrides for |
Example
{
"fields": ["PICK_LIST_PRODUCT_MODIFIER_DISPLAY_NAME_FIELD"],
"values": RemovePickListProductModifierValueOverridesInput
}
RemovePickListProductModifierValueOverridesInput
Description
Pick list product modifier values to remove overrides for
Fields
Input Field | Description |
---|---|
ids - [ID!]!
|
Pick list product modifier values ids to remove overrides for |
Example
{"ids": ["4"]}
RemoveProductBasicInformationOverridesInput
Fields
Input Field | Description |
---|---|
localeContext - ProductOverridesLocaleContextInput!
|
The channel and locale that apply when you remove overrides from a channel locale. |
overridesToRemove - [ProductBasicInformationField!]
|
A set of fields for basic product information with overrides you want to remove. An empty value means you will remove all overrides. |
productId - ID!
|
The product that has overrides you want to remove. |
Example
{
"localeContext": ProductOverridesLocaleContextInput,
"overridesToRemove": ["PRODUCT_DESCRIPTION_FIELD"],
"productId": 4
}
RemoveProductBasicInformationOverridesResult
Description
Result of a mutation that removes overrides for product basic information from a channel locale.
Fields
Field Name | Description |
---|---|
product - Product
|
The product that had its overrides removed. |
Example
{"product": Product}
RemoveProductCustomFieldsOverridesAttribute
Description
Custom field remove overrides attribute.
Values
Enum Value | Description |
---|---|
|
IsVisible Custom field remove overrides attribute. |
|
Name Custom field remove overrides attribute. |
|
Value Custom field remove overrides attribute. |
Example
"IS_VISIBLE"
RemoveProductCustomFieldsOverridesChannelLocaleContextDataInput
Description
Custom field remove overrides locale data.
Fields
Input Field | Description |
---|---|
context - ChannelLocaleContextInput!
|
Custom field remove overrides locale data context. |
attributes - [RemoveProductCustomFieldsOverridesAttribute!]
|
Custom field remove overrides locale data attributes. |
Example
{
"context": ChannelLocaleContextInput,
"attributes": ["IS_VISIBLE"]
}
RemoveProductCustomFieldsOverridesDataInput
Description
Custom fields remove overrides data input.
Fields
Input Field | Description |
---|---|
customFieldId - ID!
|
Custom field Id to remove overrides for. |
channelLocaleContextData - RemoveProductCustomFieldsOverridesChannelLocaleContextDataInput!
|
Custom field remove overrides channel locale context data. |
Example
{
"customFieldId": 4,
"channelLocaleContextData": RemoveProductCustomFieldsOverridesChannelLocaleContextDataInput
}
RemoveProductCustomFieldsOverridesInput
Fields
Input Field | Description |
---|---|
productId - ID!
|
The product which custom fields overrides must be removed. |
data - [RemoveProductCustomFieldsOverridesDataInput!]!
|
Example
{
"productId": 4,
"data": [RemoveProductCustomFieldsOverridesDataInput]
}
RemoveProductCustomFieldsOverridesResult
Fields
Field Name | Description |
---|---|
product - Product
|
The product which custom fields overrides was removed. |
Example
{"product": Product}
RemoveProductIsFeaturedOverrideInput
RemoveProductIsFeaturedOverrideResult
Description
Result of a mutation that removes overrides for whether a product is featured in a channel locale.
Fields
Field Name | Description |
---|---|
product - Product
|
The product that had its override removed. |
Example
{"product": Product}
RemoveProductModifierOverridesDataInput
Description
Input that removes overrides for product modifiers from a channel locale.
Fields
Input Field | Description |
---|---|
modifiers - [RemoveProductModifierOverridesInput!]!
|
Modifier overrides that you want to remove. |
Example
{"modifiers": [RemoveProductModifierOverridesInput]}
RemoveProductModifierOverridesInput
Description
Input that has the product modifier overrides you want to remove.
Fields
Input Field | Description |
---|---|
modifierId - ID!
|
Product modifier ID. |
data - RemoveProductModifierOverridesUnionDataInput!
|
Product modifier override. |
Example
{
"modifierId": "4",
"data": RemoveProductModifierOverridesUnionDataInput
}
RemoveProductModifierOverridesUnionDataInput
Description
Input that has product modifier overrides data. You can only use one type of modifier in a request.
Fields
Input Field | Description |
---|---|
checkbox - RemoveCheckboxProductModifierOverridesInput
|
Overrides for checkbox product modifiers. |
dateField - RemoveDateFieldProductModifierOverridesInput
|
Overrides for date field product modifiers. |
dropdown - RemoveDropdownProductModifierOverridesInput
|
Overrides for dropdown product modifiers. |
fileUpload - RemoveFileUploadProductModifierOverridesInput
|
Overrides for file upload product modifiers. |
multiLineTextField - RemoveMultiLineTextFieldProductModifierOverridesInput
|
Overrides for multiline text field product modifiers. |
numberField - RemoveNumberFieldProductModifierOverridesInput
|
Overrides for number field product modifiers. |
pickList - RemovePickListProductModifierOverridesInput
|
Overrides for pick list product modifiers. |
radioButtons - RemoveRadioButtonsProductModifierOverridesInput
|
Overrides for radio buttons product modifiers. |
rectangleList - RemoveRectangleListProductModifierOverridesInput
|
Overrides for rectangle list product modifiers. |
swatch - RemoveSwatchProductModifierOverridesInput
|
Overrides for swatch product modifiers. |
textField - RemoveTextFieldProductModifierOverridesInput
|
Overrides for text field product modifiers. |
Example
{
"checkbox": RemoveCheckboxProductModifierOverridesInput,
"dateField": RemoveDateFieldProductModifierOverridesInput,
"dropdown": RemoveDropdownProductModifierOverridesInput,
"fileUpload": RemoveFileUploadProductModifierOverridesInput,
"multiLineTextField": RemoveMultiLineTextFieldProductModifierOverridesInput,
"numberField": RemoveNumberFieldProductModifierOverridesInput,
"pickList": RemovePickListProductModifierOverridesInput,
"radioButtons": RemoveRadioButtonsProductModifierOverridesInput,
"rectangleList": RemoveRectangleListProductModifierOverridesInput,
"swatch": RemoveSwatchProductModifierOverridesInput,
"textField": RemoveTextFieldProductModifierOverridesInput
}
RemoveProductModifiersOverridesInput
Description
Input that removes overrides for product modifiers from a channel locale.
Fields
Input Field | Description |
---|---|
productId - ID!
|
ID for the product that has overrides you want to remove. |
localeContext - ProductOverridesLocaleContextInput!
|
The channel and locale that apply when you remove overrides from a channel locale. |
data - RemoveProductModifierOverridesDataInput!
|
Product modifier overrides you want to remove. |
Example
{
"productId": "4",
"localeContext": ProductOverridesLocaleContextInput,
"data": RemoveProductModifierOverridesDataInput
}
RemoveProductModifiersOverridesResult
Description
Result of a mutation that removes overrides for a product modifier from a channel locale.
Fields
Field Name | Description |
---|---|
product - Product
|
The product that had its overrides removed. |
Example
{"product": Product}
RemoveProductOptionOverridesDataInput
Description
Input that removes overrides for product options from a channel locale.
Fields
Input Field | Description |
---|---|
optionId - ID!
|
ID for the option that has overrides you want to remove. |
data - RemoveProductOptionOverridesUnionDataInput!
|
Product option overrides you want to remove. |
Example
{
"optionId": "4",
"data": RemoveProductOptionOverridesUnionDataInput
}
RemoveProductOptionOverridesUnionDataInput
Description
Input that removes overrides for product options from a channel locale.
Fields
Input Field | Description |
---|---|
dropdown - RemoveDropdownProductOptionOverridesInput
|
Dropdown product option that has overrides you want to remove. |
radioButtons - RemoveRadioButtonsProductOptionOverridesInput
|
Radio button product option that has overrides you want to remove. |
rectangleList - RemoveRectangleListProductOptionOverridesInput
|
Rectangle list product option that has overrides you want to remove. |
swatch - RemoveSwatchProductOptionOverridesInput
|
Swatch product option that has overrides you want to remove. |
Example
{
"dropdown": RemoveDropdownProductOptionOverridesInput,
"radioButtons": RemoveRadioButtonsProductOptionOverridesInput,
"rectangleList": RemoveRectangleListProductOptionOverridesInput,
"swatch": RemoveSwatchProductOptionOverridesInput
}
RemoveProductOptionsOverridesDataInput
Description
Input that removes overrides for product options from a channel locale.
Fields
Input Field | Description |
---|---|
options - [RemoveProductOptionOverridesDataInput!]!
|
Product option overrides that you want to remove. |
Example
{"options": [RemoveProductOptionOverridesDataInput]}
RemoveProductOptionsOverridesInput
Fields
Input Field | Description |
---|---|
data - RemoveProductOptionsOverridesDataInput!
|
Product options overrides you want to remove. |
localeContext - ProductOverridesLocaleContextInput!
|
The channel and locale that apply when you remove overrides from a channel locale. |
productId - ID!
|
The ID of the product that has overrides you want to remove. |
Example
{
"data": RemoveProductOptionsOverridesDataInput,
"localeContext": ProductOverridesLocaleContextInput,
"productId": "4"
}
RemoveProductOptionsOverridesResult
Description
Result of a mutation that removes overrides for a product option from a channel locale.
Fields
Field Name | Description |
---|---|
product - Product
|
The product that had its overrides removed. |
Example
{"product": Product}
RemoveProductPreOrderSettingsOverridesInput
Fields
Input Field | Description |
---|---|
localeContext - ProductOverridesLocaleContextInput!
|
The channel and locale that apply when you remove overrides from a channel locale. |
overridesToRemove - [ProductPreOrderSettingsField!]
|
Set of fields for product pre-order settings that have overrides you want to remove. Empty value means you will remove all overrides. |
productId - ID!
|
The ID of the product that has overrides you want to remove. |
Example
{
"localeContext": ProductOverridesLocaleContextInput,
"overridesToRemove": ["PRODUCT_PRE_ORDER_MESSAGE"],
"productId": 4
}
RemoveProductPreOrderSettingsOverridesResult
Description
Result of a mutation that removes overrides for product pre-order settings from a channel locale.
Fields
Field Name | Description |
---|---|
product - Product
|
The product that had its overrides removed. |
Example
{"product": Product}
RemoveProductSeoInformationOverridesInput
Fields
Input Field | Description |
---|---|
localeContext - ProductOverridesLocaleContextInput!
|
The channel and locale that apply when you remove overrides from a channel locale. |
overridesToRemove - [ProductSeoInformationField!]
|
Set of fields for product SEO information that have overrides you want to remove. Empty value means you will remove all overrides. |
productId - ID!
|
The product which information should be modified. |
Example
{
"localeContext": ProductOverridesLocaleContextInput,
"overridesToRemove": ["PRODUCT_META_DESCRIPTION_FIELD"],
"productId": "4"
}
RemoveProductSeoInformationOverridesResult
Description
Result of a mutation that removes overrides for product SEO information from a channel locale.
Fields
Field Name | Description |
---|---|
product - Product
|
The product which seo information overrides was removed as a result of mutation. |
Example
{"product": Product}
RemoveProductStorefrontDetailsOverridesInput
Fields
Input Field | Description |
---|---|
localeContext - ProductOverridesLocaleContextInput!
|
The channel and locale that apply when you remove overrides from a channel locale. |
overridesToRemove - [ProductStorefrontDetailsField!]
|
Set of fields for product storefront details that has overrides you want to remove. Empty value means you will remove all overrides. |
productId - ID!
|
The product which information should be modified. |
Example
{
"localeContext": ProductOverridesLocaleContextInput,
"overridesToRemove": ["PRODUCT_AVAILABILITY_DESCRIPTION_FIELD"],
"productId": "4"
}
RemoveProductStorefrontDetailsOverridesResult
Description
Result of a mutation that removes overrides for product storefront details from a channel locale.
Fields
Field Name | Description |
---|---|
product - Product
|
The product that had its overrides removed. |
Example
{"product": Product}
RemoveProductUrlPathOverrideInput
Fields
Input Field | Description |
---|---|
localeContext - ProductOverridesLocaleContextInput!
|
The channel and locale that apply when you remove overrides from a channel locale. |
productId - ID!
|
ID for the product that has a URL path override you want to remove. |
Example
{
"localeContext": ProductOverridesLocaleContextInput,
"productId": 4
}
RemoveProductUrlPathOverrideResult
Description
Result of a mutation that removes overrides for a product url path from a channel locale.
Fields
Field Name | Description |
---|---|
product - Product
|
The product that had its overrides removed. |
Example
{"product": Product}
RemoveRadioButtonsProductModifierOverridesField
Description
Radio buttons product modifier overrides field name
Values
Enum Value | Description |
---|---|
|
The display name field. |
Example
"RADIO_BUTTONS_PRODUCT_MODIFIER_DISPLAY_NAME_FIELD"
RemoveRadioButtonsProductModifierOverridesInput
Description
Input that removes overrides for the radio button product modifier from a channel locale.
Fields
Input Field | Description |
---|---|
fields - [RemoveRadioButtonsProductModifierOverridesField!]
|
Fields for the modifier that have overrides you want to remove. |
values - RemoveRadioButtonsProductModifierValueOverridesInput
|
Values for the modifier that have overrides you want to remove. |
Example
{
"fields": ["RADIO_BUTTONS_PRODUCT_MODIFIER_DISPLAY_NAME_FIELD"],
"values": RemoveRadioButtonsProductModifierValueOverridesInput
}
RemoveRadioButtonsProductModifierValueOverridesInput
Description
Input that removes overrides for values of the radio button product modifier from a channel locale.
Fields
Input Field | Description |
---|---|
ids - [ID!]!
|
IDs of the values that have overrides you want to remove. |
Example
{"ids": ["4"]}
RemoveRadioButtonsProductOptionOverridesField
Description
Radio buttons product option overrides field names
Values
Enum Value | Description |
---|---|
|
The display name field. |
Example
"RADIO_BUTTONS_PRODUCT_OPTION_DISPLAY_NAME_FIELD"
RemoveRadioButtonsProductOptionOverridesInput
Description
Input that removes overrides for the radio buttons product option from a channel locale.
Fields
Input Field | Description |
---|---|
fields - [RemoveRadioButtonsProductOptionOverridesField!]
|
Fields for the option that have overrides you want to remove. |
values - RemoveRadioButtonsProductOptionValuesOverridesInput
|
Values for the option that have overrides you want to remove. |
Example
{
"fields": ["RADIO_BUTTONS_PRODUCT_OPTION_DISPLAY_NAME_FIELD"],
"values": RemoveRadioButtonsProductOptionValuesOverridesInput
}
RemoveRadioButtonsProductOptionValuesOverridesInput
Description
Input that removes overrides for values of the radio button product option from a channel locale.
Fields
Input Field | Description |
---|---|
ids - [ID!]!
|
IDs of the option values that have overrides you want to remove. |
Example
{"ids": [4]}
RemoveRectangleListProductModifierOverridesField
Description
Rectangle list product modifier overrides field name
Values
Enum Value | Description |
---|---|
|
The display name field. |
Example
"RECTANGLE_LIST_PRODUCT_MODIFIER_DISPLAY_NAME_FIELD"
RemoveRectangleListProductModifierOverridesInput
Description
Input that removes overrides for the rectangle list product modifier from a channel locale.
Fields
Input Field | Description |
---|---|
fields - [RemoveRectangleListProductModifierOverridesField!]
|
Fields for the modifier that have overrides you want to remove. |
values - RemoveRectangleListProductModifierValueOverridesInput
|
Values for the option that have overrides you want to remove. |
Example
{
"fields": ["RECTANGLE_LIST_PRODUCT_MODIFIER_DISPLAY_NAME_FIELD"],
"values": RemoveRectangleListProductModifierValueOverridesInput
}
RemoveRectangleListProductModifierValueOverridesInput
Description
Input that removes overrides for values of the rectangle list product modifier from a channel locale.
Fields
Input Field | Description |
---|---|
ids - [ID!]!
|
IDs of the modifier values that have overrides you want to remove. |
Example
{"ids": ["4"]}
RemoveRectangleListProductOptionOverridesField
Description
Rectangle list product option overrides field names
Values
Enum Value | Description |
---|---|
|
The display name field. |
Example
"RECTANGLE_LIST_PRODUCT_OPTION_DISPLAY_NAME_FIELD"
RemoveRectangleListProductOptionOverridesInput
Description
Input that removes overrides for the rectangle list product option from a channel locale.
Fields
Input Field | Description |
---|---|
fields - [RemoveRectangleListProductOptionOverridesField!]
|
Fields for the modifier that have overrides you want to remove. |
values - RemoveRectangleListProductOptionValuesOverridesInput
|
Values for the option that have overrides you want to remove. |
Example
{
"fields": ["RECTANGLE_LIST_PRODUCT_OPTION_DISPLAY_NAME_FIELD"],
"values": RemoveRectangleListProductOptionValuesOverridesInput
}
RemoveRectangleListProductOptionValuesOverridesInput
Description
Input that removes overrides for values of the rectangle list product option from a channel locale.
Fields
Input Field | Description |
---|---|
ids - [ID!]!
|
IDs of the option values that have overrides you want to remove. |
Example
{"ids": ["4"]}
RemoveSwatchProductModifierOverridesField
Description
Swatch product modifier overrides field name
Values
Enum Value | Description |
---|---|
|
The display name field. |
Example
"SWATCH_PRODUCT_MODIFIER_DISPLAY_NAME_FIELD"
RemoveSwatchProductModifierOverridesInput
Description
Input that removes overrides for swatch product modifiers from a channel locale.
Fields
Input Field | Description |
---|---|
fields - [RemoveSwatchProductModifierOverridesField!]
|
Fields for the modifier that have overrides you want to remove. |
values - RemoveSwatchProductModifierValuesOverridesInput
|
Values of the modifier that have overrides you want to remove. |
Example
{
"fields": ["SWATCH_PRODUCT_MODIFIER_DISPLAY_NAME_FIELD"],
"values": RemoveSwatchProductModifierValuesOverridesInput
}
RemoveSwatchProductModifierValuesOverridesInput
Description
Input that removes overrides for values of the swatch product modifier from a channel locale.
Fields
Input Field | Description |
---|---|
ids - [ID!]!
|
IDs of the modifier values that have overrides you want to remove. |
Example
{"ids": [4]}
RemoveSwatchProductOptionOverridesField
Description
Swatch product option overrides field names
Values
Enum Value | Description |
---|---|
|
The display name field. |
Example
"SWATCH_PRODUCT_OPTION_DISPLAY_NAME_FIELD"
RemoveSwatchProductOptionOverridesInput
Description
Input that removes overrides for swatch product options from a channel locale.
Fields
Input Field | Description |
---|---|
fields - [RemoveSwatchProductOptionOverridesField!]
|
Fields for the product option that have overrides you want to remove. |
values - RemoveSwatchProductOptionValuesOverridesInput
|
Values for the product option that have overrides you want to remove. |
Example
{
"fields": ["SWATCH_PRODUCT_OPTION_DISPLAY_NAME_FIELD"],
"values": RemoveSwatchProductOptionValuesOverridesInput
}
RemoveSwatchProductOptionValuesOverridesInput
Description
Input that removes overrides for values of the swatch product option from a channel locale.
Fields
Input Field | Description |
---|---|
ids - [ID!]!
|
IDs of the option values that have overrides you want to remove. |
Example
{"ids": [4]}
RemoveTextFieldProductModifierOverridesField
Description
Text field product modifier overrides field name
Values
Enum Value | Description |
---|---|
|
The field default value. |
|
The display name field. |
Example
"TEXT_FIELD_PRODUCT_MODIFIER_DEFAULT_VALUE_FIELD"
RemoveTextFieldProductModifierOverridesInput
Description
Input that removes overrides for text field product modifier from a channel locale.
Fields
Input Field | Description |
---|---|
fields - [RemoveTextFieldProductModifierOverridesField!]
|
Fields for the modifier that have overrides you want to remove. |
Example
{"fields": ["TEXT_FIELD_PRODUCT_MODIFIER_DEFAULT_VALUE_FIELD"]}
ScopeConnection
Description
A connection to a list of items.
Fields
Field Name | Description |
---|---|
pageInfo - PageInfo!
|
Information to aid in pagination. |
edges - [ScopeEdge]
|
A list of edges. |
Example
{
"pageInfo": PageInfo,
"edges": [ScopeEdge]
}
ScopeEdge
SetCheckboxProductModifierInformationInput
SetDateFieldProductModifierInformationInput
Description
Input that sets date field product modifier information.
Fields
Input Field | Description |
---|---|
displayName - String
|
Display name for the date field product modifier. |
Example
{"displayName": "xyz789"}
SetDropdownProductModifierInformationInput
Description
Input that sets dropdown product modifier information.
Fields
Input Field | Description |
---|---|
displayName - String
|
Display name for the dropdown product modifier. |
values - [SetDropdownProductModifierValueInformationInput!]
|
Dropdown modifier values information |
Example
{
"displayName": "xyz789",
"values": [
SetDropdownProductModifierValueInformationInput
]
}
SetDropdownProductModifierValueInformationInput
Description
Input that sets information for dropdown product modifier values.
Example
{
"valueId": "4",
"label": "xyz789"
}
SetDropdownProductOptionInformationInput
Description
Input that sets information for dropdown product options.
Fields
Input Field | Description |
---|---|
displayName - String
|
Display name for the dropdown product option. |
values - [SetDropdownProductOptionValueInformationInput!]
|
Dropdown product option values. |
Example
{
"displayName": "xyz789",
"values": [
SetDropdownProductOptionValueInformationInput
]
}
SetDropdownProductOptionValueInformationInput
SetFileUploadProductModifierInformationInput
Description
Input that sets information for the file upload product modifier.
Fields
Input Field | Description |
---|---|
displayName - String
|
Display name for the file upload product modifier. |
Example
{"displayName": "abc123"}
SetMultiLineTextFieldProductModifierInformationInput
SetNumberFieldProductModifierInformationInput
Description
Input that sets information for the numbers-only text field product modifier.
Example
{
"defaultValue": 123.45,
"displayName": "abc123"
}
SetPickListProductModifierInformationInput
Description
Input that sets information for the pick list product modifier.
Fields
Input Field | Description |
---|---|
displayName - String
|
Display name for the product modifier. |
values - [SetPickListProductModifierValueInformationInput!]
|
Pick list modifier values. |
Example
{
"displayName": "xyz789",
"values": [
SetPickListProductModifierValueInformationInput
]
}
SetPickListProductModifierValueInformationInput
SetProductBasicInformationDataInput
SetProductBasicInformationInput
Fields
Input Field | Description |
---|---|
localeContext - ProductOverridesLocaleContextInput
|
The channel and locale that apply when you set overrides for a channel locale. |
data - SetProductBasicInformationDataInput!
|
|
productId - ID!
|
ID of the product that has basic product information you want to set. |
Example
{
"localeContext": ProductOverridesLocaleContextInput,
"data": SetProductBasicInformationDataInput,
"productId": 4
}
SetProductBasicInformationResult
Description
Result of a mutation that sets product basic information.
Fields
Field Name | Description |
---|---|
product - Product
|
The product that had its overrides updated. |
Example
{"product": Product}
SetProductIsFeaturedDataInput
Fields
Input Field | Description |
---|---|
isFeatured - Boolean!
|
Product isFeatured flag. |
Example
{"isFeatured": false}
SetProductIsFeaturedInput
Fields
Input Field | Description |
---|---|
channelId - ID
|
ID of the channel where you want to set whether a product is marked as featured. |
data - SetProductIsFeaturedDataInput!
|
|
productId - ID!
|
ID of the product that has information you want to set. |
Example
{
"channelId": "4",
"data": SetProductIsFeaturedDataInput,
"productId": 4
}
SetProductIsFeaturedResult
Description
Result of a mutation that sets whether a product is marked as featured on the storefront.
Fields
Field Name | Description |
---|---|
product - Product
|
The product that had its isFeatured flag updated. |
Example
{"product": Product}
SetProductModifierInformationDataInput
Description
Product modifiers information data
Fields
Input Field | Description |
---|---|
modifiers - [SetProductModifierInformationInput!]!
|
Product modifiers information data |
Example
{"modifiers": [SetProductModifierInformationInput]}
SetProductModifierInformationInput
Description
Product modifier information
Fields
Input Field | Description |
---|---|
modifierId - ID!
|
The product modifier id which data should be modified. |
data - SetProductModifierInformationUnionDataInput!
|
Product modifier information of specific type |
Example
{
"modifierId": 4,
"data": SetProductModifierInformationUnionDataInput
}
SetProductModifierInformationUnionDataInput
Description
Input that has the product modifier information you want to set. You can only use one type of modifier in a request.
Fields
Input Field | Description |
---|---|
checkbox - SetCheckboxProductModifierInformationInput
|
Checkbox product modifier information. |
dateField - SetDateFieldProductModifierInformationInput
|
Date field product modifier information. |
dropdown - SetDropdownProductModifierInformationInput
|
Dropdown product modifier information. |
fileUpload - SetFileUploadProductModifierInformationInput
|
File upload product modifier information. |
multiLineTextField - SetMultiLineTextFieldProductModifierInformationInput
|
Multiline text field product modifier information. |
numberField - SetNumberFieldProductModifierInformationInput
|
Number field product modifier information. |
pickList - SetPickListProductModifierInformationInput
|
Pick list product modifier information. |
radioButtons - SetRadioButtonsProductModifierInformationInput
|
Radio buttons product modifier information. |
rectangleList - SetRectangleListProductModifierInformationInput
|
Rectangle list product modifier information. |
swatch - SetSwatchProductModifierInformationInput
|
Swatch product modifier information. |
textField - SetTextFieldProductModifierInformationInput
|
Text field product modifier information. |
Example
{
"checkbox": SetCheckboxProductModifierInformationInput,
"dateField": SetDateFieldProductModifierInformationInput,
"dropdown": SetDropdownProductModifierInformationInput,
"fileUpload": SetFileUploadProductModifierInformationInput,
"multiLineTextField": SetMultiLineTextFieldProductModifierInformationInput,
"numberField": SetNumberFieldProductModifierInformationInput,
"pickList": SetPickListProductModifierInformationInput,
"radioButtons": SetRadioButtonsProductModifierInformationInput,
"rectangleList": SetRectangleListProductModifierInformationInput,
"swatch": SetSwatchProductModifierInformationInput,
"textField": SetTextFieldProductModifierInformationInput
}
SetProductModifiersInformationInput
Description
Input that has the product modifier information you want to set.
Fields
Input Field | Description |
---|---|
productId - ID!
|
ID of the product that has modifier information you want to set. |
localeContext - ProductOverridesLocaleContextInput
|
The channel and locale that apply when you set overrides for a channel locale. |
data - SetProductModifierInformationDataInput!
|
Product modifiers information. |
Example
{
"productId": 4,
"localeContext": ProductOverridesLocaleContextInput,
"data": SetProductModifierInformationDataInput
}
SetProductModifiersInformationResult
Description
Result of a mutation that sets product modifier information.
Fields
Field Name | Description |
---|---|
product - Product
|
The product that had its modifiers set. |
Example
{"product": Product}
SetProductOptionInformationInput
Description
Input that has the product option information you want to set.
Fields
Input Field | Description |
---|---|
optionId - ID!
|
ID of the product option that has information you want to set. |
data - SetProductOptionInformationUnionDataInput!
|
Product option information of a specific type. |
Example
{
"optionId": "4",
"data": SetProductOptionInformationUnionDataInput
}
SetProductOptionInformationUnionDataInput
Description
Input that has the product option information you want to set. You can only use one type of modifier in a request.
Fields
Input Field | Description |
---|---|
dropdown - SetDropdownProductOptionInformationInput
|
Dropdown product option information. |
radioButtons - SetRadioButtonsProductOptionInformationInput
|
Radio buttons product option information. |
rectangleList - SetRectangleListProductOptionInformationInput
|
Rectangle list product option information. |
swatch - SetSwatchProductOptionInformationInput
|
Swatch product option information. |
Example
{
"dropdown": SetDropdownProductOptionInformationInput,
"radioButtons": SetRadioButtonsProductOptionInformationInput,
"rectangleList": SetRectangleListProductOptionInformationInput,
"swatch": SetSwatchProductOptionInformationInput
}
SetProductOptionsInformationDataInput
Description
Input that sets information for product options.
Fields
Input Field | Description |
---|---|
options - [SetProductOptionInformationInput!]!
|
Product option information that you want to set. |
Example
{"options": [SetProductOptionInformationInput]}
SetProductOptionsInformationInput
Description
Input that has the product options information you want to set.
Fields
Input Field | Description |
---|---|
localeContext - ProductOverridesLocaleContextInput
|
The channel and locale that apply when you set overrides for a channel locale. |
data - SetProductOptionsInformationDataInput!
|
Product options information. |
productId - ID!
|
ID of the product that has product options information you want to set. |
Example
{
"localeContext": ProductOverridesLocaleContextInput,
"data": SetProductOptionsInformationDataInput,
"productId": "4"
}
SetProductOptionsInformationResult
Description
Result of a mutation that sets product options information.
Fields
Field Name | Description |
---|---|
product - Product
|
The product that had its options set. |
Example
{"product": Product}
SetProductPreOrderSettingsDataInput
Fields
Input Field | Description |
---|---|
message - String
|
Product pre-order message. |
Example
{"message": "xyz789"}
SetProductPreOrderSettingsInput
Fields
Input Field | Description |
---|---|
localeContext - ProductOverridesLocaleContextInput
|
The channel and locale that apply when you set overrides for a channel locale. |
data - SetProductPreOrderSettingsDataInput!
|
Data for the pre-order settings of a product. |
productId - ID!
|
ID of the product that has pre-order settings you want to set. |
Example
{
"localeContext": ProductOverridesLocaleContextInput,
"data": SetProductPreOrderSettingsDataInput,
"productId": "4"
}
SetProductPreOrderSettingsResult
Description
Result of a mutation that sets product pre-order settings.
Fields
Field Name | Description |
---|---|
product - Product
|
The product that had its pre-order settings set. |
Example
{"product": Product}
SetProductSeoInformationDataInput
SetProductSeoInformationInput
Fields
Input Field | Description |
---|---|
localeContext - ProductOverridesLocaleContextInput
|
The channel and locale that apply when you set overrides for a channel locale. |
data - SetProductSeoInformationDataInput!
|
|
productId - ID!
|
ID of the product that has SEO information you want to set. |
Example
{
"localeContext": ProductOverridesLocaleContextInput,
"data": SetProductSeoInformationDataInput,
"productId": 4
}
SetProductSeoInformationResult
Description
Result of a mutation that sets product SEO information.
Fields
Field Name | Description |
---|---|
product - Product
|
The product that had its SEO information set. |
Example
{"product": Product}
SetProductStorefrontDetailsDataInput
SetProductStorefrontDetailsInput
Fields
Input Field | Description |
---|---|
localeContext - ProductOverridesLocaleContextInput
|
The channel and locale that apply when you set overrides for a channel locale. |
data - SetProductStorefrontDetailsDataInput!
|
Data for the storefront details of a product. |
productId - ID!
|
ID of the product that has storefront details you want to set. |
Example
{
"localeContext": ProductOverridesLocaleContextInput,
"data": SetProductStorefrontDetailsDataInput,
"productId": "4"
}
SetProductStorefrontDetailsResult
Description
Result of a mutation that sets product storefront details.
Fields
Field Name | Description |
---|---|
product - Product
|
The product that had its storefront details set. |
Example
{"product": Product}
SetProductUrlPathDataInput
Fields
Input Field | Description |
---|---|
path - String!
|
Product URL path. |
Example
{"path": "xyz789"}
SetProductUrlPathInput
Fields
Input Field | Description |
---|---|
localeContext - ProductOverridesLocaleContextInput
|
The channel and locale that apply when you set overrides for a channel locale. |
data - SetProductUrlPathDataInput!
|
Data for the product URL path. |
productId - ID!
|
ID of the product that has the URL path you want to set. |
Example
{
"localeContext": ProductOverridesLocaleContextInput,
"data": SetProductUrlPathDataInput,
"productId": 4
}
SetProductUrlPathResult
Description
Result of a mutation that sets the product URL path.
Fields
Field Name | Description |
---|---|
product - Product
|
The product that had its URL path set. |
Example
{"product": Product}
SetRadioButtonsProductModifierInformationInput
Description
Input that has information for the radio button product modifier you want to set.
Fields
Input Field | Description |
---|---|
displayName - String
|
Display name for the product modifier. |
values - [SetRadioButtonsProductModifierValueInformationInput!]
|
Values for the radio buttons modifier that has information you want to set. |
Example
{
"displayName": "xyz789",
"values": [
SetRadioButtonsProductModifierValueInformationInput
]
}
SetRadioButtonsProductModifierValueInformationInput
Description
Input that has the values for the radio buttons product modifier you want to set.
Example
{
"valueId": "4",
"label": "xyz789"
}
SetRadioButtonsProductOptionInformationInput
Description
Input that has the radio buttons product options you want to set.
Fields
Input Field | Description |
---|---|
displayName - String
|
Display name for the product option that you want to set. |
values - [SetRadioButtonsProductOptionValueInformationInput!]
|
Values for the product option you want to set. |
Example
{
"displayName": "xyz789",
"values": [
SetRadioButtonsProductOptionValueInformationInput
]
}
SetRadioButtonsProductOptionValueInformationInput
Description
Input that has the values for the radio buttons product option you want to set.
Example
{
"valueId": "4",
"label": "abc123"
}
SetRectangleListProductModifierInformationInput
Description
Input that has the rectangle list product modifier you want to set.
Fields
Input Field | Description |
---|---|
displayName - String
|
Display name for the product modifier that you want to set. |
values - [SetRectangleListProductModifierValueInformationInput!]
|
Values for the product modifier that you want to set. |
Example
{
"displayName": "xyz789",
"values": [
SetRectangleListProductModifierValueInformationInput
]
}
SetRectangleListProductModifierValueInformationInput
Description
Input that has the values for the rectangle list product modifier you want to set.
Example
{
"valueId": "4",
"label": "xyz789"
}
SetRectangleListProductOptionInformationInput
Description
Input that has the rectangle list product option you want to set.
Fields
Input Field | Description |
---|---|
displayName - String
|
Display name for the product option that you want to set. |
values - [SetRectangleListProductOptionValueInformationInput!]
|
Values for the product options that you want to set. |
Example
{
"displayName": "abc123",
"values": [
SetRectangleListProductOptionValueInformationInput
]
}
SetRectangleListProductOptionValueInformationInput
Description
Input that has the rectangle list product option values you want to set.
Example
{
"valueId": "4",
"label": "abc123"
}
SetSwatchProductModifierInformationInput
Description
Input that has the swatch product modifier you want to set.
Fields
Input Field | Description |
---|---|
displayName - String
|
Display name for the product modifier you want to set. |
values - [SetSwatchProductModifierValueInformationInput!]
|
Modifier values you want to set. |
Example
{
"displayName": "xyz789",
"values": [
SetSwatchProductModifierValueInformationInput
]
}
SetSwatchProductModifierValueInformationInput
SetSwatchProductOptionInformationInput
Description
Input that has the swatch product option you want to set.
Fields
Input Field | Description |
---|---|
displayName - String
|
Display name for the product option you want to set. |
values - [SetSwatchProductOptionValueInformationInput!]
|
Product option values you want to set. |
Example
{
"displayName": "xyz789",
"values": [SetSwatchProductOptionValueInformationInput]
}
SetSwatchProductOptionValueInformationInput
SetTextFieldProductModifierInformationInput
Description
Input that has the text field product modifier you want to set.
Example
{
"defaultValue": "abc123",
"displayName": "xyz789"
}
Store
Description
A store.
Fields
Field Name | Description |
---|---|
account - Account
|
An account. |
appExtensions - AppExtensionsConnection!
|
A list of App Extensions that the requesting API account has installed on the store. |
id - ID!
|
The ID of the object. |
metafield - Metafield
|
Single metafield. |
Arguments
|
|
metafields - MetafieldsConnection!
|
List of metafields. |
Arguments |
|
product - Product
|
Single product. |
Arguments
|
|
products - ProductConnection!
|
List of products. |
Arguments |
|
settings - StoreSettings
|
Store settings. |
sharedProductModifiers - SharedProductModifierConnection!
|
List of shared product modifiers. |
Arguments |
|
sharedProductOptions - SharedProductOptionConnection!
|
List of shared product options. |
Arguments |
|
storeHash - String!
|
Store hash. |
storeReferenceId - String!
|
Store reference ID. |
Example
{
"account": Account,
"appExtensions": AppExtensionsConnection,
"id": 4,
"metafield": Metafield,
"metafields": MetafieldsConnection,
"product": Product,
"products": ProductConnection,
"settings": StoreSettings,
"sharedProductModifiers": SharedProductModifierConnection,
"sharedProductOptions": SharedProductOptionConnection,
"storeHash": "xyz789",
"storeReferenceId": "xyz789"
}
StoreSettings
Description
Store settings.
Fields
Field Name | Description |
---|---|
dataSolutions - DataSolutionsSettings!
|
Data solutions. |
storeName - String!
|
Store name. |
Example
{
"dataSolutions": DataSolutionsSettings,
"storeName": "abc123"
}
StoreSettingsMutations
Description
Store settings mutations.
Fields
Field Name | Description |
---|---|
dataSolutions - DataSolutionsMutations!
|
Data solutions mutations. |
Example
{"dataSolutions": DataSolutionsMutations}
StorefrontDetails
Description
Storefront details.
Example
{
"warranty": "abc123",
"availabilityDescription": "xyz789",
"searchKeywords": "xyz789"
}
StorefrontDetailsOverridesForLocale
Description
Overrides for storefront details in a channel locale.
Example
{
"warranty": "xyz789",
"availabilityDescription": "xyz789",
"searchKeywords": "xyz789"
}
String
Description
The String
scalar type represents textual data, represented as UTF-8 character sequences. The String type is most often used by GraphQL to represent free-form human-readable text.
Example
"xyz789"
SwatchOptionValue
SwatchOptionValueForLocale
SwatchProductModifier
Description
Swatch product modifier.
Fields
Field Name | Description |
---|---|
overridesForLocale - SwatchProductModifierForLocale
|
Overrides for swatch product modifiers in a channel locale. |
Arguments
|
|
values - [SwatchProductModifierValue!]!
|
Swatch product modifiers values. |
id - ID!
|
The ID of the object. |
displayName - String!
|
Product modifier display name. |
isRequired - Boolean!
|
Indicates whether product modifier is required. |
isShared - Boolean!
|
Indicates whether product modifier is shared or local. |
Example
{
"overridesForLocale": SwatchProductModifierForLocale,
"values": [SwatchProductModifierValue],
"id": 4,
"displayName": "abc123",
"isRequired": true,
"isShared": true
}
SwatchProductModifierForLocale
Description
Overrides for the swatch product modifier in a channel locale.
Fields
Field Name | Description |
---|---|
displayName - String
|
Display name for the product modifier. |
values - [SwatchProductModifierValueForLocale!]!
|
Product modifier values. |
Example
{
"displayName": "xyz789",
"values": [SwatchProductModifierValueForLocale]
}
SwatchProductModifierValue
SwatchProductModifierValueForLocale
SwatchProductOption
Description
Swatch product option.
Fields
Field Name | Description |
---|---|
displayName - String!
|
Display name for the option. |
isShared - Boolean!
|
Indicates whether product option is shared or local. |
id - ID!
|
The ID of the object. |
overridesForLocale - ProductOptionForLocale
|
Option overrides for a channel locale. |
Arguments
|
|
values - [ProductOptionValue!]!
|
List of product option values. |
Example
{
"displayName": "xyz789",
"isShared": false,
"id": "4",
"overridesForLocale": ProductOptionForLocale,
"values": [ProductOptionValue]
}
SwatchProductOptionForLocale
Description
Override for the swatch product option in a channel locale.
Fields
Field Name | Description |
---|---|
displayName - String
|
Display name for the product option. |
values - [ProductOptionValueForLocale!]!
|
List of product option values. |
Example
{
"displayName": "abc123",
"values": [ProductOptionValueForLocale]
}
System
Description
System settings.
Fields
Field Name | Description |
---|---|
time - Long!
|
The current time. |
Example
{"time": {}}
TextFieldProductModifier
Description
Text field product modifier.
Fields
Field Name | Description |
---|---|
defaultValue - String
|
Default value for the modifier. |
overridesForLocale - TextFieldProductModifierForLocale
|
Overrides for the modifier in a channel locale. |
Arguments
|
|
id - ID!
|
The ID of the object. |
displayName - String!
|
Product modifier display name. |
isRequired - Boolean!
|
Indicates whether product modifier is required. |
isShared - Boolean!
|
Indicates whether product modifier is shared or local. |
Example
{
"defaultValue": "abc123",
"overridesForLocale": TextFieldProductModifierForLocale,
"id": "4",
"displayName": "abc123",
"isRequired": false,
"isShared": false
}
TextFieldProductModifierForLocale
UpdateAppExtensionDataInput
Fields
Input Field | Description |
---|---|
label - UpdateAppExtensionLabelInput
|
An object that contains all of the desired locale-aware link text options for an App Extension, including new link text options. |
url - String
|
A new relative path containing a supported path parameter that the app expects to be templated into its route, defined as a JavaScript string template expression. Currently, id is supported. Limit 255 characters. See the AppExtension response object schema for more detail. |
Example
{
"label": UpdateAppExtensionLabelInput,
"url": "xyz789"
}
UpdateAppExtensionInput
Fields
Input Field | Description |
---|---|
data - UpdateAppExtensionDataInput!
|
The App Extension data to be changed. Currently, only the url and label properties can be updated. Changes to the label object overwrite existing values, rather than upserting. Be sure to send the whole label object you intend the App Extension to have, not just the changes. |
id - ID!
|
The ID of the object. |
Example
{
"data": UpdateAppExtensionDataInput,
"id": "4"
}
UpdateAppExtensionLabelInput
Description
The label of the App Extension.
Fields
Input Field | Description |
---|---|
defaultValue - String
|
The link text that the user sees when the control panel language is English or not defined by the developer in label.locales . The defaultValue should be in English. Suggested length of ≤25 characters; limit 255 characters. |
locales - [AppExtensionLabelLocaleInput!]
|
A list of alternate link text values and their corresponding locale codes. |
Example
{
"defaultValue": "xyz789",
"locales": [AppExtensionLabelLocaleInput]
}
UpdateAppExtensionResult
Fields
Field Name | Description |
---|---|
appExtension - AppExtension
|
The response object properties available after updating an App Extension. |
Example
{"appExtension": AppExtension}
UpdateDataLayerInput
Fields
Input Field | Description |
---|---|
isDataLayerEnabled - Boolean!
|
is data layer enabled |
Example
{"isDataLayerEnabled": false}
UpdateDataLayerResult
Description
Result of mutation.
Fields
Field Name | Description |
---|---|
dataSolutions - DataSolutionsSettings
|
Data solutions object that is updated as a result of mutation. |
Example
{"dataSolutions": DataSolutionsSettings}
UpdateMetafieldDataInput
Fields
Input Field | Description |
---|---|
namespace - String
|
Namespace for the metafield. |
key - String
|
The name of the metafield. |
value - String
|
Value of the metafield. |
description - String
|
Description of the metafield. |
permissionSet - MetafieldsPermissionSet
|
Determines the visibility and writeability of the field by other API consumers. |
Example
{
"namespace": "xyz789",
"key": "abc123",
"value": "xyz789",
"description": "xyz789",
"permissionSet": "APP_ONLY"
}
UpdateMetafieldInput
Fields
Input Field | Description |
---|---|
id - ID!
|
Id of metafield to update. |
data - UpdateMetafieldDataInput!
|
Data to update. |
Example
{"id": 4, "data": UpdateMetafieldDataInput}
UpdateMetafieldResult
Fields
Field Name | Description |
---|---|
metafield - Metafield
|
Updated metafield. |
Example
{"metafield": Metafield}
ValidationError
Description
Error indicating that the input is invalid.
Fields
Field Name | Description |
---|---|
message - String!
|
Information about error. |
Example
{"message": "abc123"}