Skip to main content

Theme

v1

Description

Get notified whenever a theme is added or modified.


Supported Type

  • Create
  • Update
  • Delete
  • Published
  • Unpublished
  • Install/Remove

Payload

{
"event":{
"id":"Z9lxufAhZXRp6qw4oIbyltvYp9z0EIeYkVha9TiBpk4=",
"name":"theme",
"type":"update",
"version":"1",
"trace_id":[
"blitzkrieg.fd11076e-eed5-4a6e-9d63-2623a8570484"
],
"created_timestamp":1630303770655
},
"payload":{
"type":"update",
"theme":{
"_id":"6110ef0d8828462b750c8446",
"src":{
"link":"https://hdn-1.addsale.com/x0/company/8/applications/6110ef0dd4beb652128f8c0a/theme/sources/KiSWJOcCV-archive.zip"
},
"font":{
"family":"Poppins",
"variants":{
"bold":{
"file":"https://fonts.gstatic.com/s/poppins/v15/pxiByp8kv8JHgFVrLCz7V1tvFP-KUEg.ttf",
"name":"700"
},
"light":{
"file":"https://fonts.gstatic.com/s/poppins/v15/pxiByp8kv8JHgFVrLDz8V1tvFP-KUEg.ttf",
"name":"300"
},
"medium":{
"file":"https://fonts.gstatic.com/s/poppins/v15/pxiByp8kv8JHgFVrLGT9V1tvFP-KUEg.ttf",
"name":"500"
},
"regular":{
"file":"https://fonts.gstatic.com/s/poppins/v15/pxiEyp8kv8JHgFVrFJDUc1NECPY.ttf",
"name":"regular"
},
"semi_bold":{
"file":"https://fonts.gstatic.com/s/poppins/v15/pxiByp8kv8JHgFVrLEj6V1tvFP-KUEg.ttf",
"name":"600"
}
}
},
"tags":[

],
"assets":{
"css":{
"link":"https://hdn-1.addsale.com/x0/company/8/applications/6110ef0dd4beb652128f8c0a/theme/assets/VUkkx40e5-themeBundle.css"
},
"umdJs":{
"link":"https://hdn-1.addsale.com/x0/company/8/applications/6110ef0dd4beb652128f8c0a/theme/assets/pGdAiiod2C-themeBundle.umd.min.js"
},
"commonJs":{
"link":"https://hdn-1.addsale.com/x0/company/8/applications/6110ef0dd4beb652128f8c0a/theme/assets/jri81wiL5x-themeBundle.common.js"
}
},
"colors":{
"bg_color":"#F8F8F8",
"link_color":"#7043f7",
"accent_color":"#FFFFFF",
"primary_color":"#7043f7",
"secondary_color":"#02d1cb",
"button_secondary_color":"#000000"
},
"config":{
"list":[
{
"name":"default",
"page":[
{
"page":"cart-landing",
"settings":{
"props":{
"show_info_message":true
}
}
}
],
"global":{
"custom":{
"props":{
"disable_cart":false
}
},
"static":{
"props":{
"colors":{
"bg_color":"#1a181e",
"link_color":"#7043f7",
"accent_color":"#FFFFFF",
"primary_color":"#7043f7",
"secondary_color":"#02d1cb",
"button_secondary_color":"#000000"
}
}
}
}
}
],
"preset":{
"pages":[
{
"value":"home",
"sections":[
{
"name":"image-carousel",
"props":{
"autoplay":{
"type":"checkbox",
"value":false
},
"slide_height":{
"type":"select",
"value":"adapt"
},
"slide_interval":{
"type":"range",
"value":2
}
},
"blocks":[
{
"name":"Image",
"type":"gallery_image",
"props":{
"image":{
"type":"image_picker",
"value":"https://hdn-1.fynd.com/company/163/applications/5d5265c8f8ad9cae6dbf18f1/theme/pictures/free/original/theme-image-1601219133573.jpeg"
},
"slide_link":{
"type":"url",
"value":"https://www.turtleonline.in/collection/men-collection-vcahuo2q"
}
}
},
{
"name":"Image",
"type":"gallery_image",
"props":{
"image":{
"type":"image_picker",
"value":"https://hdn-1.fynd.com/company/163/applications/5d5265c8f8ad9cae6dbf18f1/theme/pictures/free/original/theme-image-1601219184350.jpeg"
},
"slide_link":{
"type":"url",
"value":"https://www.turtleonline.in/collection/shirts-5e9654ad"
}
}
}
],
"predicate":{
"user":{
"anonymous":true,
"authenticated":true
},
"route":{
"selected":"none",
"exact_url":""
},
"screen":{
"mobile":true,
"tablet":true,
"desktop":true
}
}
},
{
"name":"collectionGrid",
"props":{
"title":{
"type":"text",
"value":"Collections"
},
"subtitle":{
"type":"text",
"value":"Buy from our"
},
"full_width":{
"type":"checkbox",
"value":false
}
},
"blocks":[
{
"name":"Collection",
"type":"collection",
"props":{
"title":{
"type":"text",
"value":"Turtle sports club"
},
"subtitle":{
"type":"text",
"value":"Casual Collections"
},
"collection":{
"type":"collection",
"value":"accessories-7ee89654"
},
"overlayImage":{
"type":"image_picker",
"value":"https://hdn-1.addsale.com/x0/company/1/applications/5e737afb97e0f586bf9d04db/theme/pictures/free/original/casual_nfadbl.jpg"
}
}
},
{
"name":"Collection",
"type":"collection",
"props":{
"title":{
"type":"text",
"value":"Formal Collection"
},
"subtitle":{
"type":"text",
"value":"Turtle Tailor Mark"
},
"collection":{
"type":"collection",
"value":"bottom-wear-fb133293"
},
"overlayImage":{
"type":"image_picker",
"value":"https://hdn-1.addsale.com/x0/company/1/applications/5e737afb97e0f586bf9d04db/theme/pictures/free/original/tailors_nsrrfl.jpg"
}
}
},
{
"name":"Collection",
"type":"collection",
"props":{
"title":{
"type":"text",
"value":"Bottomwear"
},
"subtitle":{
"type":"text",
"value":"Chinos | Trousers | Pants"
},
"collection":{
"type":"collection",
"value":"bottom-wear-fb133293"
},
"overlayImage":{
"type":"image_picker",
"value":"https://hdn-1.addsale.com/x0/company/1/applications/5e737afb97e0f586bf9d04db/theme/pictures/free/original/bottomwear_tdkhn2.jpg"
}
}
},
{
"name":"Collection",
"type":"collection",
"props":{
"title":{
"type":"text",
"value":"Shirts"
},
"subtitle":{
"type":"text",
"value":"Casual"
},
"collection":{
"type":"collection",
"value":"t-shirt-7ee3cbcd"
},
"overlayImage":{
"type":"image_picker",
"value":"https://hdn-1.addsale.com/x0/company/1/applications/5e737afb97e0f586bf9d04db/theme/pictures/free/original/t-shirt_re9srk.jpg"
}
}
}
],
"predicate":{
"user":{
"anonymous":true,
"authenticated":true
},
"route":{
"selected":"none",
"exact_url":""
},
"screen":{
"mobile":true,
"tablet":true,
"desktop":true
}
}
}
]
},
{
"value":"brands",
"sections":[
{
"name":"brandTemplate",
"props":{
"layout":{
"type":"select",
"value":"grid"
},
"heading":{
"type":"text",
"value":""
},
"brand_type":{
"type":"radio",
"value":"all"
},
"department":{
"type":"department",
"value":"others"
},
"full_width":{
"type":"checkbox",
"value":false
},
"item_count":{
"type":"range",
"value":4
}
},
"blocks":[

],
"predicate":{
"user":{
"anonymous":true,
"authenticated":true
},
"route":{
"selected":"none",
"exact_url":""
},
"screen":{
"mobile":true,
"tablet":true,
"desktop":true
}
}
}
]
},
{
"value":"cart-landing",
"sections":[

]
},
{
"value":"categories",
"sections":[
{
"name":"categoriesTemplate",
"props":{
"layout":{
"type":"select",
"value":"grid"
},
"heading":{
"type":"text",
"value":""
},
"view_all":{
"type":"checkbox",
"value":false
},
"full_width":{
"type":"checkbox",
"value":false
},
"item_count":{
"type":"range",
"value":4
}
},
"blocks":[

],
"predicate":{
"user":{
"anonymous":true,
"authenticated":true
},
"route":{
"selected":"none",
"exact_url":""
},
"screen":{
"mobile":true,
"tablet":true,
"desktop":true
}
}
}
]
},
{
"value":"collections",
"sections":[
{
"name":"collectionTemplate",
"props":{
"layout":{
"type":"select",
"value":"grid"
},
"heading":{
"type":"text",
"value":"Featured Collections"
},
"full_width":{
"type":"checkbox",
"value":false
},
"item_count":{
"type":"range",
"value":4
}
},
"blocks":[

],
"predicate":{
"user":{
"anonymous":true,
"authenticated":true
},
"route":{
"selected":"none",
"exact_url":""
},
"screen":{
"mobile":true,
"tablet":true,
"desktop":true
}
}
}
]
},
{
"value":"compare-products",
"sections":[

]
},
{
"value":"product-description",
"sections":[

]
},
{
"value":"product-listing",
"sections":[

]
},
{
"value":"wishlist",
"sections":[

]
}
]
},
"current":"default",
"global_schema":{
"props":[
{
"id":"test",
"type":"checkbox",
"label":"Test Checkbox",
"default":true
}
]
}
},
"styles":{

},
"applied":true,
"version":"1.1.53",
"archived":false,
"settings":{

},
"constants":{

},
"createdAt":"2021-08-06T05:33:15.383Z",
"published":false,
"updatedAt":"2021-08-30T06:09:29.785Z",
"customized":true,
"application":"6110ef0dd4beb652128f8c0a",
"information":{
"name":"foodgasm",
"images":{
"ios":[
"https://hdn-1.addsale.com/x0/company/8/applications/6110ef0dd4beb652128f8c0a/theme/pictures/free/original/diesel-mobile.png"
],
"android":[
"https://hdn-1.addsale.com/x0/company/8/applications/6110ef0dd4beb652128f8c0a/theme/pictures/free/original/diesel-mobile.png"
],
"desktop":[
"https://hdn-1.addsale.com/x0/company/8/applications/6110ef0dd4beb652128f8c0a/theme/pictures/free/original/diesel-desktop.png"
],
"thumbnail":[
"https://hdn-1.addsale.com/x0/company/8/applications/6110ef0dd4beb652128f8c0a/theme/pictures/free/original/diesel-desktop.png"
]
},
"features":[
"Responsive"
]
},
"parentTheme":"000000000000000000000001",
"available_sections":[
{
"name":"customHtml",
"label":"Custom HTML",
"props":[
{
"id":"code",
"info":"Add Your custom HTML Code below. You can also use the full screen icon to open a code editor and add your code",
"type":"code",
"label":"Custom HTML"
}
],
"blocks":[

]
},
{
"name":"featuredProducts",
"label":"Featured Products",
"props":[
{
"id":"heading",
"type":"text",
"label":"Section Heading",
"default":"Featured Products"
},
{
"id":"item_count",
"max":5,
"min":2,
"info":"Maximum items allowed per row",
"step":1,
"type":"range",
"unit":"",
"label":"Products per row",
"default":4
},
{
"id":"full_width",
"info":"Check to allow items to take entire width of the viewport",
"type":"checkbox",
"label":"Full width",
"default":false
}
],
"blocks":[
{
"name":"Product",
"type":"product",
"props":[
{
"id":"product",
"info":"Product Item to be displayed",
"type":"product",
"label":"Select a Product"
}
]
}
]
},
{
"name":"gallery",
"label":"Gallery",
"props":[
{
"id":"item_count",
"max":4,
"min":1,
"info":"Maximum items allowed per row",
"step":1,
"type":"range",
"unit":"",
"label":"No of items",
"default":4
}
],
"blocks":[
{
"name":"Image",
"type":"gallery_image",
"props":[
{
"id":"image",
"type":"image_picker",
"label":"Gallery Image",
"default":"https://place-hold.it/600x500"
},
{
"id":"caption",
"type":"text",
"label":"Image Caption",
"default":""
},
{
"id":"link",
"info":"Link to redirect",
"type":"url",
"label":"Link",
"default":""
}
]
}
]
},
{
"name":"imageBanner",
"label":"Hero Image",
"props":[
{
"id":"image",
"type":"image_picker",
"label":"Hero Image",
"default":"https://place-hold.it/1920x450"
},
{
"id":"layout",
"info":"Size of the banner",
"type":"select",
"label":"Banner Layout",
"default":"full",
"options":[
{
"text":"Full width",
"value":"full"
},
{
"text":"Medium",
"value":"medium"
},
{
"text":"Small",
"value":"small"
}
]
},
{
"id":"height",
"info":"Height of the banner",
"type":"select",
"label":"Banner Height",
"default":"h-auto",
"options":[
{
"text":"Fit to banner image",
"value":"h-auto"
},
{
"text":"Small",
"value":"h-small"
},
{
"text":"Medium",
"value":"h-medium"
},
{
"text":"Large",
"value":"h-large"
}
]
},
{
"id":"overlayLayout",
"info":"Alignment of overlay content",
"type":"select",
"label":"Overlay Layout",
"default":"left",
"options":[
{
"text":"Align Left",
"value":"left"
},
{
"text":"Align Center",
"value":"center"
},
{
"text":"Align Right",
"value":"right"
}
]
},
{
"id":"overlayImage",
"info":"Overlay Image",
"type":"image_picker",
"label":"Overlay image",
"default":""
},
{
"id":"text",
"type":"text",
"label":"Overlay Text",
"default":""
},
{
"id":"ctaLink",
"type":"url",
"label":"Redirect Link",
"default":""
},
{
"id":"ctaText",
"type":"text",
"label":"Button Text",
"default":"Shop Now"
}
],
"blocks":[

]
},
{
"name":"slideshow",
"label":"Image Carousel",
"props":[
{
"id":"slide_height",
"info":"Size of the slide",
"type":"select",
"label":"Slide height",
"default":"adapt",
"options":[
{
"text":"Adapt to first image",
"value":"adapt"
},
{
"text":"Small",
"value":"small"
},
{
"text":"Medium",
"value":"medium"
},
{
"text":"Large",
"value":"large"
}
]
},
{
"id":"autoplay",
"info":"Check to autoplay slides",
"type":"checkbox",
"label":"AutoPlay Slides",
"default":false
},
{
"id":"slide_interval",
"max":10,
"min":1,
"info":"Autoplay slide duration",
"step":1,
"type":"range",
"unit":"sec",
"label":"Change slides after every",
"default":2
}
],
"blocks":[
{
"name":"Image",
"type":"gallery_image",
"props":[
{
"id":"image",
"type":"image_picker",
"label":"Gallery Image"
},
{
"id":"slide_link",
"type":"url",
"label":"Slide Link"
}
]
}
]
},
{
"name":"storeProducts",
"label":"Store Products",
"props":[

],
"blocks":[
{
"name":"Product",
"type":"Collections",
"props":[
{
"id":"image",
"type":"image_picker",
"label":"Collection Image",
"default":"https://place-hold.it/600x500"
},
{
"id":"collection",
"info":"Select a collection to display its products",
"type":"collection",
"label":"Collection"
},
{
"id":"link",
"info":"Link to redirect",
"type":"url",
"label":"Link",
"default":""
}
]
}
]
},
{
"name":"testimonials",
"label":"Testimonial",
"props":[
{
"id":"autoplay",
"type":"checkbox",
"label":"AutoPlay Slides",
"default":false
},
{
"id":"slide_interval",
"max":10,
"min":1,
"step":1,
"type":"range",
"unit":"sec",
"label":"Change slides every",
"default":2
}
],
"blocks":[
{
"name":"Testimonial",
"type":"testimonial",
"props":[
{
"id":"testimonialText",
"info":"Text for testimonial",
"type":"textarea",
"label":"Text for Testimonial",
"default":"",
"placeholder":"Text"
},
{
"id":"author",
"type":"text",
"label":"Customers name"
}
]
}
]
}
],
"parentThemeVersion":"1.0.0"
}
},
"contains":[
"theme",
"type"
],
"company_id":8,
"application_id":"6110ef0dd4beb652128f8c0a"
}

Install

{
"payload": {
"_id" : ObjectId("64be264c0347c5002279b77c"),
"name" : "Emerge",
"marketplace_theme_id" : ObjectId("6543a71a9788a35a7a9e6b72"),
"company_id" : 74,
"meta" : {
"payment" : {
"is_paid" : false,
"amount" : 0
},
"industry" : [
"Arts and crafts",
"Baby and kids",
"Books, music, and video"
],
"description" : "Indulge in the epitome of luxury with our expertly crafted theme, showcasing a high-end aesthetic that exudes elegance. Designed with meticulous attention to detail, our features are tailored to elevate your products and amplify your brand identity.",
"images" : {
"desktop" : "https://cdn.pixelbin.io/v2/falling-surf-7c8bb8/fyndnp/wrkr/addsale/misc/pictures/free-icon/original/McHjwol_h-images_desktop.webp",
"mobile" : "https://cdn.pixelbin.io/v2/falling-surf-7c8bb8/fyndnp/wrkr/addsale/misc/pictures/free-icon/original/bq6gXrmVE-images_mobile.webp"
},
"slug" : "emerge"
},
"created_at" : ISODate("2023-07-24T07:20:44.731Z"),
"updated_at" : ISODate("2023-11-03T07:02:07.408Z")
},
"meta": {
"event": {
"name": "company-theme",
"type": "install",
"version": "1"
},
"company_id": 74,
"trace_id": [
"84535465d2b5c8147b4aa5071430797e"
],
"created_timestamp": 1699510252,
"service": {
"name": "blitzkrieg"
},
}
}

Remove


{
"payload": {
"_id" : ObjectId("64be264c0347c5002279b77c"),
"name" : "Emerge",
"marketplace_theme_id" : ObjectId("6543a71a9788a35a7a9e6b72"),
"company_id" : 74,
"meta" : {
"payment" : {
"is_paid" : false,
"amount" : 0
},
"industry" : [
"Arts and crafts",
"Baby and kids",
"Books, music, and video"
],
"description" : "Indulge in the epitome of luxury with our expertly crafted theme, showcasing a high-end aesthetic that exudes elegance. Designed with meticulous attention to detail, our features are tailored to elevate your products and amplify your brand identity.",
"images" : {
"desktop" : "https://cdn.pixelbin.io/v2/falling-surf-7c8bb8/fyndnp/wrkr/addsale/misc/pictures/free-icon/original/McHjwol_h-images_desktop.webp",
"mobile" : "https://cdn.pixelbin.io/v2/falling-surf-7c8bb8/fyndnp/wrkr/addsale/misc/pictures/free-icon/original/bq6gXrmVE-images_mobile.webp"
},
"slug" : "emerge"
},
"created_at" : ISODate("2023-07-24T07:20:44.731Z"),
"updated_at" : ISODate("2023-11-03T07:02:07.408Z")
},
"meta": {
"event": {
"name": "company-theme",
"type": "uninstall",
"version": "1"
},
"company_id": 74,
"trace_id": [
"84535465d2b5c8147b4aa5071430797e"
],
"created_timestamp": 1699510252,
"service": {
"name": "blitzkrieg"
},
}
}


Object Properties

KeyTypeDescription
_idstringUnique theme ID
applicationstringApplication ID to which the theme belongs
appliedbooleanTheme is currently applied or not
customizedbooleanTheme is customized by any developer or not
publishedbooleanTheme is currently published in Themes Marketplace for others or not
archivedbooleanArchived or not
created_atstringTimestamp when theme was created
updated_atstringWhen was the theme object last modified
versionstringCurrent version of the theme
parent_theme_versionstringParent theme version from which current theme is extended
parent_themestringParent theme identifier
informationobjectGeneral information about the theme
tagsarrayDetails of third party scripts that will get injected in theme
srcobjectDetails where theme is stored in cloud
assetsobjectTheme dependencies details
available_sectionsarrayEvery page sections details
constantsobject
stylesobjectStyling details of theme
configobjectTheme configuration details
settingsobject
fontobjectFont configurations
colorsobjectColor configurations [Deprecated]
namestringname of theme
marketplace_theme_idstringmarketplace theme id
metaObjectmeta info for theme having payment and which category we are using this theme
paymentObjectPayment Information
industryArrayhaving Info which type of storefront we are creating
descriptionstringdescription for themes
imagesObjectfor adding mobile and desktop logo
slugstringslug of theme name
updated_atstringupdated time of themes
company_idNumbercompany id for organisation