Delete Script Tag

Removes a specific script tag from a shop's storefront.

🔒

Requires write_script_tag access scope. More access scope

This Delete Script Tag API endpoint allows developers to remove a specific script tag from a Shoplazza store's storefront.

This API is especially useful for:

  1. Removing outdated or unused analytics and tracking scripts
  2. Deleting client-side integrations that are no longer needed

Request Parameters

Public Request Parameters

📘

Path Parameters

ParameterTypeRequiredDescriptionExample
script_tag_idstringYesUnique identifier of the script tag to be updatedscript_tag_123456789

Response Explanation

Public Response Parameters

📘

Successful Response

ParameterTypeExampleDescription
codestring"200"HTTP status code
messagestring"Success"Operation result message
dataobject-

Error Response

FieldTypeExampleDescription
codestringInvalidParameterError http message
messagestring``Error message
Language
Credentials
Header
URL
Click Try It! to start a request and see the response here!