get
https://{subdomain}.myshoplaza.com/openapi/2025-06/script_tags/count
Retrieves the total number of script tags available in a shop's storefront.
Requiresread_script_tagaccess 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:
- Monitoring the overall number of client-side integrations
- Auditing the storefront for potential performance impacts from multiple script tags
Request Parameters
Public Request Parameters
Response Explanation
Public Response Parameters
Successful Response
| Parameter | Type | Example | Description |
|---|---|---|---|
code | string | "200" | The response status code |
message | string | "Success" | The response message |
data.count | int32 | 15 | The total number of script tags in the shop |
Error Response
| Field | Type | Example | Description |
|---|---|---|---|
code | string | InvalidParameter | Error http message |
message | string | `` | Error message |
