**Version: 202607**

# Script Tag

Manage JavaScript snippets injected into storefront pages by apps

Script tags let apps inject remote JavaScript into a merchant's storefront pages so that third-party features can run alongside the store without modifying the theme directly.

Provides endpoints to list, create, get, update, delete, and count script tags registered for a store.

- [List script tags](/api/script-tags) `GET /openapi/2026-07/script_tags`: Retrieves a paginated list of all script tags in a shop's storefront.

- [Create script tag](/api/script-tag-create) `POST /openapi/2026-07/script_tags`: Create and inject JavaScript tags into a shop's storefront pages.

- [Get script tag](/api/script-tag-detail) `GET /openapi/2026-07/script_tags/:script_tag_id`: Retrieves details about a specific script tag by its unique ID.

- [Update script tag](/api/script-tag-update) `PUT /openapi/2026-07/script_tags/:script_tag_id`: Updating an existing script tag in a shop's storefront.

- [Delete script tag](/api/script-tag-delete) `DELETE /openapi/2026-07/script_tags/:script_tag_id`: Removes a specific script tag from a shop's storefront.

- [Get script tag count](/api/script-tag-count) `GET /openapi/2026-07/script_tags/count`: Retrieves the total number of script tags available in a shop's storefront.
