Skip to main content
mutation

Requires write_script_tags access scope.

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.

Script tag deprecation

Script tags will be sunset for the Order status page on August 28, 2025. Upgrade to Checkout Extensibility before this date. Shopify Scripts will continue to work alongside Checkout Extensibility until August 28, 2025.

Updates a script tag.

ID!
required

The ID of the script tag to update.

ScriptTagInput!
required

Specifies the input fields for a script tag.


Was this section helpful?

Anchor to ScriptTagUpdatePayload returnsScriptTagUpdatePayload returns

ScriptTag

The script tag that was updated.

[UserError!]!
non-null

The list of errors that occurred from executing the mutation.


Was this section helpful?