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

setSharedProductOptionsInformation

Example Query
1mutation ExampleMutation($input: SetSharedProductOptionsInformationInput) {
2 setSharedProductOptionsInformation(input: $input) {
3 sharedProductOptions
4 }
5}
Variables
1{
2 "input": {
3 "localeContext": {
4 "channelId": "example",
5 "locale": "example"
6 },
7 "data": {
8 "options": [
9 {
10 "optionId": "example",
11 "data": {
12 "dropdown": {
13 "displayName": null,
14 "values": null
15 },
16 "radioButtons": {
17 "displayName": null,
18 "values": null
19 },
20 "rectangleList": {
21 "displayName": null,
22 "values": null
23 },
24 "swatch": {
25 "displayName": null,
26 "values": null
27 }
28 }
29 }
30 ]
31 }
32 }
33}
Example response
1{
2 "data": {
3 "setSharedProductOptionsInformation": {
4 "sharedProductOptions": [
5 {
6 "displayName": "example",
7 "id": "example",
8 "overridesForLocale": {
9 "displayName": null,
10 "values": null
11 },
12 "values": [
13 {
14 "id": null,
15 "isDefault": null,
16 "label": null
17 }
18 ]
19 }
20 ]
21 }
22 }
23}
Sets shared product option information.
Was this page helpful?
Previous

removeSharedProductModifiersOverrides

Next

removeSharedProductOptionsOverrides

Built with

Arguments

inputSetSharedProductOptionsInformationInputRequired

Returns

an optional SetSharedProductOptionsInformationResult
sharedProductOptionslist of SharedProductOptions
List of shared product options.