Skip to main content
Anchor to ScriptTagUpdatePayload

ScriptTagUpdatePayload

payload

Return type for scriptTagUpdate mutation.

•ScriptTag

The script tag that was updated.

Show fields
•[UserError!]!
non-null

The list of errors that occurred from executing the mutation.

Show fields

Was this section helpful?

Anchor to Mutations with this payloadMutations with this payload

•mutation
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.

Show payload

Arguments

•ID!
required

The ID of the script tag to update.

•ScriptTagInput!
required

Specifies the input fields for a script tag.

Show input fields


Was this section helpful?