curl --request PATCH \
--url https://partner-api.aasaan.shop/api/v1/partner-integrations/stores/{storeId}/storefront \
--header 'Content-Type: application/json' \
--data '
{
"pages": [
{
"pageName": "Home",
"pageUrl": "/",
"seoTitle": "Sample Seo Title",
"seoDescription": "Sample Seo Description",
"widgets": [
{
"type": "basic-slider",
"name": "Basic Slider",
"widgetData": [
{
"fields": [
{
"key": "action",
"type": "productCategory",
"values": {
"values": {
"type": "product",
"values": "61d572e4b119b00013a5e61e"
}
}
}
]
}
]
}
]
}
]
}
'{
"pages": [
{
"pageName": "Home",
"pageUrl": "/",
"widgets": [
{
"type": "basic-slider",
"name": "Basic Slider"
}
]
}
],
"createdAt": "2022-03-25T03:17:44.092Z",
"updatedAt": "2022-06-10T07:51:12.510Z"
}Update a template.
curl --request PATCH \
--url https://partner-api.aasaan.shop/api/v1/partner-integrations/stores/{storeId}/storefront \
--header 'Content-Type: application/json' \
--data '
{
"pages": [
{
"pageName": "Home",
"pageUrl": "/",
"seoTitle": "Sample Seo Title",
"seoDescription": "Sample Seo Description",
"widgets": [
{
"type": "basic-slider",
"name": "Basic Slider",
"widgetData": [
{
"fields": [
{
"key": "action",
"type": "productCategory",
"values": {
"values": {
"type": "product",
"values": "61d572e4b119b00013a5e61e"
}
}
}
]
}
]
}
]
}
]
}
'{
"pages": [
{
"pageName": "Home",
"pageUrl": "/",
"widgets": [
{
"type": "basic-slider",
"name": "Basic Slider"
}
]
}
],
"createdAt": "2022-03-25T03:17:44.092Z",
"updatedAt": "2022-06-10T07:51:12.510Z"
}Store ID for this resource request
Template Pages
Show child attributes
Page identifier
"Home"
Page URL
"/"
SEO title of the page
"Sample Seo Title"
SEO description of the page
"Sample Seo Description"
Widgets in the page
Show child attributes
Widget Type
"basic-slider"
Name of the widget
"Basic Slider"
Widget Data
Show child attributes
Field Data
Show child attributes
Product updated.
Template Pages
Created date
"2022-03-25T03:17:44.092Z"
Updated date
"2022-06-10T07:51:12.510Z"