Listing themes
Endpoint: https://api.youcan.shop/themes
Method: GET
Required Scopes
view-themes
Notes
- In
published, you get the themes installed on the store. Indev, you get the development themes. - The theme that visitors see has
liveset totrue. - The classic theme has
systemset toclassic. Every other theme hassystemset tothemes. - You get the classic theme in
publishedonly while it is live. - Read the settings of the classic theme with Get classic theme. Translate its texts with the
themetype. - Send a theme
idasthemeto list the translatable items of that theme.
Response
[200] Ok
json
{
"dev": [],
"published": [
{
"id": "st_3JgvYWTV47BvDHhbQpFu6KhUd4m",
"name": "Chameleon",
"size": 11596,
"version": "4.9.2",
"live": true,
"system": "themes"
}
]
}