settings

settings.get-seo

Returns the SEO settings.

Request

Admin SDK
Admin.api('site.settings.get-seo', null, function(response) { … });
HTTP POST
/api/v6/site.settings.get-seo

Response

{
  "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
  }
}

settings.set-seo

Sets the SEO settings.

Request

Admin SDK
Admin.api('settings.set-seo', request, function(response) { … });
HTTP POST
/api/v6/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
  }
}

Response

{
  "status" : "ok"
}
`