Anchor to scriptTagUpdatescript
mutationscript Tag Update
Requires access scope. Also: Requires access to script tags.
Theme app extensions
If your app integrates with a Shopify theme and you plan to submit it to the Shopify App Store, you must use theme app extensions instead of Script tags. Script tags can only be used with vintage themes. Learn more.
Theme app extensions:
If your app integrates with a Shopify theme and you plan to submit it to the Shopify App Store, you must use theme app extensions instead of Script tags. Script tags can only be used with vintage themes. Learn more.
Updates a script tag.
Anchor to Arguments
Arguments
- id (ID!)
- input (ScriptTagInput!)
- •ID!required
The ID of the script tag to update.
- Anchor to inputinput•Script
Tag Input! required Specifies the input fields for a script tag.
Was this section helpful?
- scriptTag (ScriptTag)
- userErrors ([UserError!]!)
- Anchor to scriptTagscript•Script
Tag Tag The script tag that was updated.
- Anchor to userErrorsuser•[User
Errors Error!]! non-null The list of errors that occurred from executing the mutation.
Was this section helpful?