API

Ստանալ SEO-ի ընդհանուր կարգավորումները

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

Վերադարձնում է SEO-ի ընդհանուր կարգավորումները։ Կաղապարները աջակցում են տեղադրումներ, օրինակ՝ [product_name], [category_name], [branch_name], [city_name]։.

Հավաստագրում

api-token + language + role

Հարցման պարամետրեր

branch_idinteger

Օրինակ: 8779

Պատասխաններ

OK

object
statusstringպարտադիր

Արժեքներ:successerror

Օրինակ: success

dataobject
filtersobject
branch_idobject (FilterSelectInteger)
valueinteger

Օրինակ: 8920

typestringպարտադիր

Օրինակ: select

optionarray of object
valueintegerպարտադիր

Օրինակ: 8920

namestringպարտադիր

Օրինակ: Green Basket | Kaliningrad

modestring (FilterMode)

Ինչպես է ինտերֆեյսը մշակում ֆիլտրը; սովորական ֆիլտրի համար mode չկա։ force_shown — միշտ ցուցադրվում է, հնարավոր չէ թաքցնել։ value_required — բաժնի մուտքի կետն է. միշտ ցուցադրվում է, չունի դատարկ արժեք (քանի դեռ արժեքը ընտրված չէ, ցուցակը դատարկ է; «բոլորը» տարբերակ չկա), ընդհանուր մաքրելը չի մաքրում այն։.

Արժեքներ:force_shownvalue_required

Օրինակ: value_required

settingsobject
breadcrumbs_showedbooleanպարտադիր

Օրինակ: true

breadcrumbs_include_on_main_page_enabledbooleanպարտադիր

Օրինակ: true

breadcrumbs_show_on_main_page_enabledbooleanպարտադիր

Օրինակ: true

item_template_seo_titlestring

Օրինակ: [product_name] - [category_name] - [branch_name] - item title

item_template_seo_descriptionstring

Օրինակ: [product_name] - [category_name] - [branch_name] - item description

item_template_seo_h1string

Օրինակ: [product_name] - [category_name] - [branch_name] - item H1

category_template_seo_titlestring

Օրինակ: [category_name] - [branch_name] - [city_name] - category title

category_template_seo_descriptionstring

Օրինակ: [category_name] - [branch_name] - [city_name] - category description

category_template_seo_h1string

Օրինակ: [category_name] - [branch_name] - [city_name] - category H1