For AI agents: a documentation index is available at the root level at /llms.txt and /llms-full.txt. Append /llms.txt to any URL for a page-level index, or .md for the markdown version of any page.
Dev Portal
DocsAPI ReferenceLearnCommunityChangelog
DocsAPI ReferenceLearnCommunityChangelog
    • About Our APIs
  • REST
    • Overview
  • GraphQL
    • Overview
          • MUTcreateAppExtension
          • MUTupdateAppExtension
          • MUTdeleteAppExtension
          • MUTcreateChannel
          • MUTremoveProductBasicInformationOverrides
          • MUTremoveProductSeoInformationOverrides
          • MUTremoveProductOptionsOverrides
          • MUTremoveProductStorefrontDetailsOverrides
          • MUTremoveProductPreOrderSettingsOverrides
          • MUTsetProductBasicInformation
          • MUTsetProductIsFeatured
          • MUTremoveProductIsFeaturedOverride
          • MUTsetProductSeoInformation
          • MUTsetProductStorefrontDetails
          • MUTsetProductPreOrderSettings
          • MUTsetProductOptionsInformation
          • MUTsetProductUrlPath
          • MUTremoveProductUrlPathOverride
          • MUTsetProductModifiersInformation
          • MUTremoveProductModifiersOverrides
          • MUTremoveProductCustomFieldsOverrides
          • MUTupdateProductCustomFields
          • MUTaddImagesToProduct
          • MUTremoveImagesFromProduct
          • MUTupdateProductImageProperties
          • MUTremoveProductImagePropertiesOverrides
          • MUTsetSharedProductModifiersInformation
          • MUTremoveSharedProductModifiersOverrides
          • MUTsetSharedProductOptionsInformation
          • MUTremoveSharedProductOptionsOverrides
          • MUTsettings
          • MUTupdateTranslations
          • MUTdeleteTranslations
          • MUTaddLocale
          • MUTdeleteLocale
          • MUTupdateLocale
          • MUTcreateEventBridgeWebhook
          • MUTcreatePubSubWebhook
          • MUTupdatePubSubWebhook
          • MUTupdateEventBridgeWebhook
          • MUTcreateHttpsWebhook
          • MUTdeleteWebhook
          • MUTupdateHttpsWebhook
          • MUTcreateMetafield
          • MUTupdateMetafield
          • MUTdeleteMetafield
          • MUTreassignMetafieldsOwner
  • MCP
    • Overview
Dev Portal
LogoLogo
GraphQLAdminMutations

setProductModifiersInformation

Example Query
1mutation ExampleMutation($input: SetProductModifiersInformationInput) {
2 setProductModifiersInformation(input: $input) {
3 product {
4 id
5 basicInformation
6 isFeatured
7 urlPath
8 overridesForLocale
9 overridesForChannel
10 seoInformation
11 storefrontDetails
12 preOrderSettings
13 customFields
14 }
15 }
16}
Variables
1{
2 "input": {
3 "productId": "example",
4 "localeContext": {
5 "channelId": "example",
6 "locale": "example"
7 },
8 "data": {
9 "modifiers": [
10 {
11 "modifierId": "example",
12 "data": {
13 "checkbox": {
14 "displayName": null,
15 "value": null
16 },
17 "dateField": {
18 "displayName": null
19 },
20 "dropdown": {
21 "displayName": null,
22 "values": null
23 },
24 "fileUpload": {
25 "displayName": null
26 },
27 "multiLineTextField": {
28 "displayName": null,
29 "defaultValue": null
30 },
31 "numberField": {
32 "defaultValue": null,
33 "displayName": null
34 },
35 "pickList": {
36 "displayName": null,
37 "values": null
38 },
39 "radioButtons": {
40 "displayName": null,
41 "values": null
42 },
43 "rectangleList": {
44 "displayName": null,
45 "values": null
46 },
47 "swatch": {
48 "displayName": null,
49 "values": null
50 }
51 }
52 }
53 ]
54 }
55 }
56}
Example response
1{
2 "data": {
3 "setProductModifiersInformation": {
4 "product": {
5 "id": "example",
6 "basicInformation": {
7 "description": null,
8 "name": null
9 },
10 "isFeatured": true,
11 "urlPath": {
12 "path": null
13 },
14 "overridesForLocale": {
15 "basicInformation": null,
16 "seoInformation": null,
17 "storefrontDetails": null,
18 "urlPath": null,
19 "preOrderSettings": null
20 },
21 "overridesForChannel": {
22 "isFeatured": null
23 },
24 "seoInformation": {
25 "metaDescription": null,
26 "pageTitle": null
27 },
28 "storefrontDetails": {
29 "warranty": null,
30 "availabilityDescription": null,
31 "searchKeywords": null
32 },
33 "preOrderSettings": {
34 "message": null
35 },
36 "customFields": {
37 "pageInfo": null,
38 "edges": null
39 }
40 }
41 }
42 }
43}
Sets product modifier information.
Was this page helpful?
Previous

removeProductUrlPathOverride

Next

removeProductModifiersOverrides

Built with

Arguments

inputSetProductModifiersInformationInputRequired

Returns

an optional SetProductModifiersInformationResult
productProduct
The product that had its modifiers set.