Requires write_script_tags access scope.

Theme app extensions

Your app might not pass App Store review if it uses script tags instead of theme app extensions. All new apps, and apps that integrate with Online Store 2.0 themes, should use theme app extensions, such as app blocks or app embed blocks. Script tags are an alternative you can use with only 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.


Anchor to id
id
required

The ID of the script tag to update.

Specifies the input fields for a script tag.


Was this section helpful?

The script tag that was updated.

The list of errors that occurred from executing the mutation.


Was this section helpful?