Репрайсер по конкурентам V2
Изменить глобальные настройки репрайсера по конкурентам (v2)
Обновляет (или записывает новую строку, если ранее настроек не существовало) в sys.global_settings_ozon_competitors и пишет историю в sys.history_settings.
patch/v2/comp/global-settings
Query parameters
blockstring
history_toolstring
Headers
x-connect-idinteger required
ID магазина
ID магазина
x-user-idinteger required
ID пользователя
ID пользователя
Request body
Example request
{
"currency": "RUB",
"region": 77,
"working_schedule": {
"MON": [
9,
10,
11,
17
],
"TUE": [
8,
9,
15,
16
],
"WED": [
12,
13,
14
],
"THU": [
1,
2,
3,
4,
13,
14,
15,
16
],
"FRI": [
8,
9,
15,
16,
17
],
"SAT": [
11,
12,
13,
14
],
"SUN": [
12,
13,
21,
22,
23
]
}
}Response
Successful Response
Example response
{
"msg": "Successful PATCH /v2/comp/global-settings (stub)",
"data": {
"currency": "RUB",
"region": 77,
"working_schedule": {
"MON": [
9,
10,
11,
17
],
"TUE": [
8,
9,
15,
16
],
"WED": [
12,
13,
14
],
"THU": [
1,
2,
3,
4,
13,
14,
15,
16
],
"FRI": [
8,
9,
15,
16,
17
],
"SAT": [
11,
12,
13,
14
],
"SUN": [
12,
13,
21,
22,
23
]
}
}
}Changes
No recorded changes to this endpoint across all 1 revision of this API.