Update SEO Settings
PUT {{baseUrl}}/seo
This endpoint allows you to update your Store's Seo Settings, such as Title, Keywords, and Description.
🌐 Multi-Lang Support
The following are translate-able by the Header Values, such as
ACCEPT-LANGUAGE
&CONTENT-LANGUAGE
:
Variable Title title
keywords
description
OAuth Scopes
metadata.read_write
Request Body
{"title"=>"SEO Title", "description"=>"SEO Description", "keywords"=>"SEO Keywords", "friendly_urls_status"=>true}
HEADERS
Key | Datatype | Required | Description |
---|---|---|---|
ACCEPT-LANGUAGE | string | Set Language Code you want to get the response with. Retrieve a list of supported languages using the Language Endpoint. Use the iso_code value you get from the language endpoint as a value in this header. | |
CONTENT-LANGUAGE | string | (OPTIONAL) Show the used language of the response. Note that not passing a value here or passing the default value of the iso_code as ar will not appear in the response. | |
Content-Type | string | ||
Accept | string |
RESPONSES
status: OK
{"status":200,"success":true,"data":{"description":"SEO Description","keywords":"SEO Keywords","title":"SEO Title","url":"https://salla.sa/your-store/sitemap.xml","friendly_urls_status":true,"refersh_sitemap":"https://salla.sa/your-store/sitemap/generate/1305146709"}}