获取默认主题详情

属性
说明
必含
类型

id

主题ID

int

custom_name

自定义名称

string

name

基础主题名称

string

is_original

是否为基础主题

boolean

is_default

是否为默认主题

boolean

content

主题样式内容

object

content>>global

全局样式

object

content>>global>>colors

颜色

object

content>>global>>colors>>price_text

价格文本

string

content>>global>>colors>>regular_price_text

原价文本

string

content>>global>>colors>>sales_label

价格标签

string

content>>global>>colors>>button_primary_text

按钮主文本

string

content>>global>>colors>>button_primary_backgorund

按钮主背景

string

content>>global>>colors>>button_secondary_text

按钮副文本

string

content>>global>>colors>>button_secondary_background

按钮副背景

string

content>>global>>colors>>product_backgorund

商品背景

string

content>>global>>fonts

字体

object

content>>global>>fonts>>title_font_family

标题字体

string

content>>global>>fonts>>title_font_size

标题字体大小

string

content>>global>>fonts>>secondary_title_font_family

副标题字体

string

content>>global>>fonts>>secondary_title_font_size

副标题字体大小

string

content>>global>>fonts>>text_font_family

文本字体

string

content>>global>>fonts>>text_font_size

文本字体大小

string

content>>global>>icon

图标

content>>global>>social_medias

社交媒体

object

content>>global>>social_medias>>enable_facebook

是否有 facebook

boolean

content>>global>>social_medias>>enable_twitter

是否有 推特

boolean

content>>global>>social_medias>>enabel_pinterest

是否有 pinterest

boolean

content>>global>>cart

购物车

object

content>>global>>cart>>type

类型

string

content>>global>>cart>>style

风格

string

content>>global>>language

语言

object

content>>global>>language>>default_language

默认语言

string

content>>global>>language>>enabled

是否可用多语言

boolean

content>>global>>language>>all_language

所有语言

boolean

content>>global>>language>>select_languages

选择语言

array

content>>global>>language>>options_languages

语言项

array

content>>global>>modules>>nav

导航

object

content>>global>>modules>>nav>>menu

菜单

array

content>>global>>modules>>nav>>image

图片

string

content>>global>>modules>>nav>>link_object

链接对象

string

content>>global>>modules>>nav>>image_link

图片链接

string

content>>global>>modules>>nav>>title

标题

string

content>>global>>modules>>nav>>description

描述

string

content>>global>>modules>>nav>>link_title

链接标题

string

content>>global>>modules>>nav>>url_object

url对象

string

content>>global>>modules>>nav>>link_url

链接url

string

content>>global>>modules>>header>>lable

页头样式

object

content>>global>>modules>>header>>lable

现实文本

string

content>>global>>modules>>header>>show

是否显示

boolean

content>>global>>modules>>header>>only_homepage

only_homepage

boolean

content>>global>>modules>>header>>title

标题

string

content>>global>>modules>>header>>url_object

url对象

object

content>>global>>modules>>header>>title_url

标题url

string

content>>global>>modules>>header>>background_color

背景颜色

string

content>>global>>modules>>header>>text_color

文本颜色

string

content>>global>>modules>>header>>style

样式

string

content>>global>>modules>>header>>visibility

可见度

string

content>>global>>modules>>header>>logo

logo

string

content>>global>>modules>>carousel

轮播图

string

content>>global>>modules>>carousel>>label

文本

string

content>>global>>modules>>carousel>>thumbail

缩略图

string

content>>global>>modules>>carousel>>template

模版

string

content>>global>>modules>>collection

商品列表页面

object

content>>global>>modules>>collection>>label

展示文本

string

content>>global>>modules>>collection>>thumbail

缩略图

string

content>>global>>modules>>product

商品页面

object

content>>global>>modules>>product>>label

展示文本

string

content>>global>>modules>>product>>thumbail

缩略图

string

content>>global>>modules>>product>>template

模版

object

content>>global>>modules>>subscribe

订阅页面

object

content>>global>>modules>>subscribe>>label

展示文本

string

content>>global>>modules>>subscribe>>thumbail

缩略图

string

content>>global>>modules>>subscribe>>template

模版

object

content>>global>>modules>>text

文本

object

content>>global>>modules>>imagetext

图片文本

object

content>>global>>modules>>footer

页脚

object

content>>global>>modules>>footer>>label

展示文本

string

content>>global>>modules>>footer>>many_menu

菜单

string

content>>global>>modules>>footer>>show_payment_icons

是否展示支持支付商的图标

boolean

content>>global>>modules>>footer>>background_color

背景颜色

string

content>>global>>modules>>footer>>text_color

文本颜色

string

content>>global>>pages

页面样式

object

content>>global>>pages>>homepage

首页

object

content>>global>>pages>>product

商品

object

content>>global>>pages>>product_list

商品列表

object

content>>global>>pages>>categories

商品列表

object

created_at_gmt

创建时间GMT

datetime

updated_at_gmt

更新时间GMT

datetime

created_at

创建时间

datetime

updated_at

更新时间

datetime

获取默认主题详情

GET /openapi/2024-10/themes/default_theme

权限:read_themes

{
	"id": 2,
	"custom_name": "Venue",
	"name": "venue",
	"is_original": true,
	"is_default": true,
	"content": {
		"global": {
			"colors": {
				"price_text": "#ff0000",
				"regular_price_text": "#000000",
				"sales_label": "#990000",
				"button_primary_text": "#ffffff",
				"button_primary_backgorund": "#c90d0d",
				"button_secondary_text": "#c90d0d",
				"button_secondary_background": "black",
				"product_backgorund": "#f9f1e6"
			},
			"fonts": {
				"title_font_family": "JetBrainsMono-VariableFont_wght",
				"title_font_size": "26px",
				"secondary_title_font_family": "Lobster-Regular",
				"secondary_title_font_size": "20px",
				"text_font_family": "Niconne-Regular",
				"text_font_size": "15px"
			},
			"icon": null,
			"social_medias": {
				"enable_facebook": false,
				"enable_twitter": false,
				"enabel_pinterest": false
			},
			"cart": {
				"type": "drawer"
			},
			"language": {
				"default_language": "English",
				"enabled": true,
				"all_language": true,
				"select_languages": [
					"English",
					"Chinese",
					"Spanish"
				],
				"options_languages": [
					"English",
					"Chinese",
					"Spanish",
					"French",
					"German"
				]
			}
		},
		"modules": {
			"nav": {
				"menu": [],
				"image": null,
				"link_object": null,
				"image_link": null,
				"title": null,
				"description": null,
				"link_title": null,
				"url_object": null,
				"link_url": null
			},
			"header": {
				"lable": "页头",
				"show": true,
				"only_homepage": false,
				"title": "123dsdsdada1",
				"url_object": {
					"ID": 177518,
					"title": "New Canvas Baby Sports Sneakers Newborn Baby Boys Girls Soft Sole Anti-slip Baby Shoes",
					"object": "product",
					"object_id": 177518,
					"children": [],
					"url": "/products/new-canvas-baby-sports-sneakers-newborn-baby-boys-girls-soft-sole-anti-slip-baby-shoes-3",
					"key": 5864
				},
				"title_url": "/products/new-canvas-baby-sports-sneakers-newborn-baby-boys-girls-soft-sole-anti-slip-baby-shoes-3",
				"background_color": "rgba(59,41,41,1)",
				"text_color": "rgba(208,2,27,1)",
				"style": "wide",
				"visibility": "default",
				"logo": null
			},
			"carousel": {
				"label": "轮播图",
				"thumbail": null,
				"template": {
					"interval": 5,
					"items": [
						{
							"align": "center",
							"title": "Image with text overlay",
							"description": "Use overlay text to give your customers insight into your brand. Select imagery and text that relates to your style and story.",
							"url": null,
							"image": null,
							"show_overlay": false,
							"opacity": 100,
							"button": {
								"text": "Shop Now",
								"url": "/",
								"url_object": {
									"ID": 1,
									"children": [],
									"key": 3944,
									"object": "home",
									"object_id": 1,
									"title": "Home",
									"url": "/"
								}
							}
						}
					]
				}
			},
			"collection": {
				"label": "商品分类",
				"thumbail": null,
				"template": {
					"title": null,
					"ids": []
				}
			},
			"product": {
				"label": "精选商品",
				"thumbail": null,
				"template": {
					"title": null,
					"layout": "4columns",
					"ids": []
				}
			},
			"subscribe": {
				"label": "订阅",
				"thumbail": null,
				"template": {
					"title": "Subscribe to our newsletter",
					"description": "A short sentence describing what someone will receive by subscribing"
				}
			},
			"text": {
				"label": "文本",
				"thumbail": null,
				"template": {
					"title": "Talk about your brand",
					"description": "Use this text to share information about your brand with your customers. Describe a product, share announcements, or welcome customers to          your store.",
					"wildscreen": true
				}
			},
			"imagetext": {
				"label": "图片文字",
				"thumbail": null,
				"template": {
					"layout": "left",
					"image_url": null,
					"image": {
						"ID": 1,
						"placeholder": null,
						"thumbnail": null,
						"medium": null,
						"big": null,
						"srcset": null,
						"url": null
					},
					"background_color": "orange",
					"title": null,
					"description": null,
					"button": {
						"text": "MORE INFO",
						"url": "/",
						"url_object": {
							"ID": 1,
							"children": [],
							"key": 3944,
							"object": "home",
							"object_id": 1,
							"title": "Home",
							"url": "/"
						}
					}
				}
			},
			"footer": {
				"label": "页脚",
				"many_menu": [],
				"show_payment_icons": true,
				"background_color": "#AB93DB",
				"text_color": "#fff"
			}
		},
		"pages": {
			"homepage": {
				"modules": [
					"collection",
					"product",
					"subscribe",
					"text",
					"imagetext"
				],
				"carousel": {
					"enabled": true,
					"type": "carousel",
					"interval": 5,
					"items": [
						{
							"align": "center",
							"image": null,
							"title": "Image with text overlay",
							"description": "Use overlay text to give your customers insight into your brand. Select imagery and text that relates to your style and story.",
							"button": {
								"text": "Shop Now",
								"url_object": {
									"ID": 1,
									"children": [],
									"key": 3944,
									"object": "home",
									"object_id": 1,
									"title": "Home",
									"url": "/"
								},
								"url": "/"
							},
							"show_overlay": false,
							"opacity": 0
						}
					]
				},
				"0collection_xxxxxxxx": {
					"enabled": true,
					"type": "collection",
					"title": "this is collection",
					"ids": [
						7879,
						7916
					]
				},
				"1product_xxxxxxxx": {
					"enabled": true,
					"type": "product",
					"title": "this is product",
					"layout": "waterfall",
					"ids": [],
					"category": []
				},
				"2subscribe_xxxxxxxx": {
					"enabled": true,
					"type": "subscribe",
					"title": "Subscribe to our newsletter",
					"description": "A short sentence describing what someone will receive by subscribing"
				}
			},
			"product": {
				"config": {
					"variants_show_config": "label"
				}
			},
			"product_list": {
				"config": {
					"layout": "4columns"
				}
			},
			"categories": {
				"config": {
					"layout": "4columns"
				}
			}
		}
	},
	"created_at_gmt": "2021-06-09 13:15:12",
	"updated_at_gmt": "2021-06-09 13:15:12",
	"created_at": "2021-06-09 21:15:12",
	"updated_at": "2021-06-09 21:15:12"
}

Last updated