Store Front
Update a template.
- Connect to Shopify
- Connect to Bigcommerce
- GETGet All Stores for a client
- GETGet Store Information
- POSTCreate a new store.
- PATCHUpdate Store information (email, address, metadata)
- POSTCreate a custom domain.
- GETGet a category by Id.
- PUTPut a new category.
- POSTCreate a new category.
- DELDelete a Category.
- PATCHUpdate a category.
- PUTPut a multiple categories
- GETGet all categories.
- GETGet a brand by Id.
- PUTPut a brand.
- POSTCreate a new brand.
- DELDelete a brand.
- PATCHUpdate a brand.
- GETGet all brands.
- PUTPut a multiple brands
- GETGet a tag by Id.
- PUTPut a tag.
- POSTCreate a new tag.
- DELDelete a tag.
- PATCHUpdate a tag.
- GETGet all tags.
- PUTPut a multiple tags
Store
Custom Domain
Category
Brand
Tag
Store Front
Update a template.
Update a template.
PATCH
/
{storeId}
/
storefront
storeId
string
*
storeId
Required
string
Store ID for this resource request
object
*
pages
array
pages
array
Template Pages
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"
}
Path Parameters
storeId
string
requiredStore ID for this resource request
Body
application/json
pages
object[]
Template Pages
pages.pageName
string
Page identifier
pages.pageUrl
string
Page URL
pages.seoTitle
string
SEO title of the page
pages.seoDescription
string
SEO description of the page
pages.widgets
object[]
Widgets in the page
pages.widgets.type
string
Widget Type
pages.widgets.name
string
Name of the widget
pages.widgets.widgetData
object[]
Widget Data
pages.widgets.widgetData.fields
object[]
Field Data
pages.widgets.widgetData.fields.key
string
Field obj key
pages.widgets.widgetData.fields.type
string
Field obj type
pages.widgets.widgetData.fields.values
object
Field obj values
Response
200 - application/json
pages
object[]
Template Pages
pages.pageName
string
Page identifier
pages.pageUrl
string
Page URL
pages.widgets
object[]
Widgets in the page
pages.widgets.type
string
Widget Type
pages.widgets.name
string
Name of the widget
createdAt
string
Created date
updatedAt
string
Updated date
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"
}