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.
Creates a new script tag.
Arguments
The input fields for a script tag.
Was this section helpful?
ScriptTagCreatePayload returns
The script tag that was created.
The list of errors that occurred from executing the mutation.
Was this section helpful?