Returns the SEO settings.
Admin SDKAdmin.api('site.settings.get-seo', null, function(response) { … });
HTTP POST/api/v10/site.settings.get-seo
{
"status" : "ok",
"settings" : {
"paranoidSEO" : true, // indicates if it should be used paranoid SEO optimizations
"useHTMLExtension" : false, // indicates if it should be used '.html' in site addresses
"indexAttributePages" : true, // indicates whether the filter pages should be indexed
"notVisibleResourcesHttpStatus" : 301 // HTTP status returned if a product is not visible, can be 301, 302, 303, 307 or 404
}
}
Sets the SEO settings.
Admin SDKAdmin.api('settings.set-seo', request, function(response) { … });
HTTP POST/api/v10/settings.set-seo
{
"settings" : {
"paranoidSEO" : true, // indicates if it should be used paranoid SEO optimizations
"useHTMLExtension" : false, // indicates if it should be used '.html' in site addresses
"indexAttributePages" : true, // indicates whether the filter pages should be indexed
"notVisibleResourcesHttpStatus" : 301 // HTTP status returned if a product is not visible, can be 301, 302, 303, 307 or 404
}
}
{
"status" : "ok"
}