You've already forked OpenIntegrations
mirror of
https://github.com/Bayselonarrend/OpenIntegrations.git
synced 2026-05-22 10:05:29 +02:00
42 lines
901 B
Plaintext
42 lines
901 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);
|
|
```
|
|
|
|
|
|
|
|
|
|
|