API

Ottenere le impostazioni SEO globali

GET/api/crm/v2/sites_seo_global_settingsv2
operationId: sitesSeoGlobalSettings.default

Restituisce le impostazioni SEO globali. I template supportano le sostituzioni, ad esempio [product_name], [category_name], [branch_name], [city_name].

Autorizzazione

api-token + language + role

Parametri della richiesta

branch_idinteger

Esempio: 8779

Risposte

OK

object
statusstringobbligatorio

Valori:successerror

Esempio: success

dataobject
filtersobject
branch_idobject (FilterSelectInteger)
valueinteger

Esempio: 8920

typestringobbligatorio

Esempio: select

optionarray of object
valueintegerobbligatorio

Esempio: 8920

namestringobbligatorio

Esempio: Green Basket | Kaliningrad

modestring (FilterMode)

Come l'interfaccia gestisce il filtro; un filtro normale non ha mode.
force_shown — sempre visibile, non può essere nascosto.
value_required — punto di ingresso nella sezione: sempre visibile, non può avere valore vuoto (finché non viene selezionato un valore, la lista è vuota; non esiste l'opzione "tutti"), il reset generale non lo azzera.

Valori:force_shownvalue_required

Esempio: value_required

settingsobject
breadcrumbs_showedbooleanobbligatorio

Esempio: true

breadcrumbs_include_on_main_page_enabledbooleanobbligatorio

Esempio: true

breadcrumbs_show_on_main_page_enabledbooleanobbligatorio

Esempio: true

item_template_seo_titlestring

Esempio: [product_name] - [category_name] - [branch_name] - item title

item_template_seo_descriptionstring

Esempio: [product_name] - [category_name] - [branch_name] - item description

item_template_seo_h1string

Esempio: [product_name] - [category_name] - [branch_name] - item H1

category_template_seo_titlestring

Esempio: [category_name] - [branch_name] - [city_name] - category title

category_template_seo_descriptionstring

Esempio: [category_name] - [branch_name] - [city_name] - category description

category_template_seo_h1string

Esempio: [category_name] - [branch_name] - [city_name] - category H1