1
0
mirror of https://github.com/Bayselonarrend/OpenIntegrations.git synced 2026-05-22 10:05:29 +02:00
Files
OpenIntegrations/docs/en/md/Yandex_Market/Campaigns-and-business/Get-business-settings.mdx
T
Vitaly the Alpaca (bot) bbd276e000 Main build (Jenkins)
2024-11-05 22:19:58 +03:00

44 lines
928 B
Plaintext

---
sidebar_position: 3
---
import Tabs from '@theme/Tabs';
import TabItem from '@theme/TabItem';
# Get business settings
Gets the values of cabinet (business) settings by ID
`Function GetBusinessSettings(Val Token, Val AccountID) Export`
| Parameter | CLI option | Type | Required | Description |
|-|-|-|-|-|
| Token | --Key) | String | ✔ | token |
| AccountID | --business | String, Number | ✔ | Business ID |
Returns: Map Of KeyAndValue - serialized JSON response from Yandex Market
<br/>
:::tip
Method at API documentation: [Cabinet settings](https://yandex.ru/dev/market/partner-api/doc/ru/reference/businesses/getBusinessSettings)
:::
<br/>
```bsl title="1C:Enterprise/OneScript code example"
Token = "ACMA:WRvGsjClMPDCqrhwBNOFRO...";
AccountID = "172257075";
Result = OPI_YandexMarket.GetBusinessSettings(Token, AccountID);
```
```json title="Result"
```