Anchor to ScriptTagDeletePayloadScript
payloadScript Tag Delete Payload
Return type for mutation.
Anchor to FieldsFields
- deletedScriptTagId (ID)
- userErrors ([UserError!]!)
- Anchor to deletedScriptTagIddeleted•ID
Script Tag Id The ID of the deleted script tag.
- Anchor to userErrorsuser•[User
Errors Error!]! non-null The list of errors that occurred from executing the mutation.
Was this section helpful?
Anchor to Mutations with this payloadMutations with this payload
- scriptTagDelete (ScriptTagDeletePayload)
- •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.
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.
Deletes a script tag.
- •ID!required
The ID of the script tag to delete.
Arguments
- •ID!
Was this section helpful?