API

Mendapatkan pengaturan SEO global

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

Mengembalikan pengaturan SEO global. Template mendukung substitusi, misalnya [product_name], [category_name], [branch_name], [city_name].

Otorisasi

api-token + language + role

Parameter permintaan

branch_idinteger

Contoh: 8779

Tanggapan

OK

object
statusstringwajib

Nilai:successerror

Contoh: success

dataobject
filtersobject
branch_idobject (FilterSelectInteger)
valueinteger

Contoh: 8920

typestringwajib

Contoh: select

optionarray of object
valueintegerwajib

Contoh: 8920

namestringwajib

Contoh: Green Basket | Kaliningrad

modestring (FilterMode)

Bagaimana antarmuka memproses filter; filter biasa tidak memiliki mode. force_shown — selalu ditampilkan, tidak bisa disembunyikan. value_required — titik masuk ke bagian: selalu ditampilkan, tidak memiliki nilai kosong (selama nilai belum dipilih, daftar kosong; tidak ada opsi "semua"), reset umum tidak menghapusnya.

Nilai:force_shownvalue_required

Contoh: value_required

settingsobject
breadcrumbs_showedbooleanwajib

Contoh: true

breadcrumbs_include_on_main_page_enabledbooleanwajib

Contoh: true

breadcrumbs_show_on_main_page_enabledbooleanwajib

Contoh: true

item_template_seo_titlestring

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

item_template_seo_descriptionstring

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

item_template_seo_h1string

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

category_template_seo_titlestring

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

category_template_seo_descriptionstring

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

category_template_seo_h1string

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