Version: 202201
Get Script Tag
GET/openapi/2022-01/script_tags_new/:id
Request
Path Parameters
id stringrequired
Script's ID
Responses
- 200
- 404
200
- application/json
- Schema
- Example
- Result
Schema
script_tag object
idstring
Example:
f50950fa-40ec-441f-b98d-e1869050dbf2display_scopestring
Example:
allevent_typestring
Example:
appsrcstring
Example:
https://shoplazza.com/x.jscreated_atstring
Example:
2024-04-29T03:22:50Zupdated_atstring
Example:
2024-04-29T03:22:50Z{
"script_tag": {
"id": "f50950fa-40ec-441f-b98d-e1869050dbf2",
"display_scope": "all",
"event_type": "app",
"src": "https://shoplazza.com/x.js",
"created_at": "2024-04-29T03:22:50Z",
"updated_at": "2024-04-29T03:22:50Z"
}
}
{
"script_tag": {
"id": "f50950fa-40ec-441f-b98d-e1869050dbf2",
"display_scope": "all",
"event_type": "app",
"src": "https://shoplazza.com/x.js",
"created_at": "2024-04-29T03:22:50Z",
"updated_at": "2024-04-29T03:22:50Z"
}
}
404
- application/json
- Schema
- Example
- Result
Schema
errorsstring[]
{
"errors": [
"record not found"
]
}
{
"errors": [
"record not found"
]
}