Get Script Tag Count

Retrieves the total number of script tags available in a shop's storefront.

🔒

Requires read_script_tag access scope. More access scope

This Get Script Tag Count API endpoint allows developers to retrieve the total count of script tags configured in a store's storefront.

This API is especially useful for:

  1. Monitoring the overall number of client-side integrations
  2. Auditing the storefront for potential performance impacts from multiple script tags

Request Parameters

Public Request Parameters

📘

Response Explanation

Public Response Parameters

📘

Successful Response

ParameterTypeExampleDescription
codestring"200"The response status code
messagestring"Success"The response message
data.countint3215The total number of script tags in the shop

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!