-
-
Notifications
You must be signed in to change notification settings - Fork 28
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
d0221e4
commit 3a1f8c0
Showing
26 changed files
with
489 additions
and
25 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,46 @@ | ||
--- | ||
sidebar_position: 3 | ||
--- | ||
|
||
# Pause advertising post | ||
Pauses the display of the advertising post | ||
|
||
|
||
*Function PauseAdvertising(Val AccountID, Val AdID, Val Parameters = "") Export* | ||
|
||
| Parameter | CLI option | Type | Destination | | ||
|-|-|-|-| | ||
| AccountID | --cabinet | String, Number | Advertising account ID | | ||
| AdID | --adv | String, Number | Ad ID | | ||
| Parameters | --auth | Structure Of String | Authorization JSON or path to .json | | ||
|
||
|
||
Returns: Map Of KeyAndValue - Serialized JSON response from VK | ||
|
||
```bsl title="Code example" | ||
Response = OPI_VK.PauseAdvertising(1234567890, 1029701085, Parameters); | ||
Response = OPI_Tools.JSONString(Response); | ||
``` | ||
|
||
```sh title="CLI command example" | ||
|
||
oint vk PauseAdvertising --cabinet %cabinet% --adv %adv% --auth %auth% | ||
|
||
``` | ||
|
||
|
||
```json title="Result" | ||
|
||
{ | ||
"response": [ | ||
{ | ||
"id": 1029701085 | ||
} | ||
] | ||
} | ||
|
||
``` |
42 changes: 42 additions & 0 deletions
42
docs/en/md/VK/Product-selection-management/Add-product-to-collection.md
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,42 @@ | ||
--- | ||
sidebar_position: 5 | ||
--- | ||
|
||
# Add product to selection | ||
Adds a product to the selection | ||
|
||
|
||
*Function AddProductToCollection(Val ProductsArray, Val Selection, Val Parameters = "") Export* | ||
|
||
| Parameter | CLI option | Type | Destination | | ||
|-|-|-|-| | ||
| ProductsArray | --items | Array of string, number | Array of products or product | | ||
| Selection | --sel | String | Selection ID | | ||
| Parameters | --auth | Structure Of String | Authorization JSON or path to .json | | ||
|
||
|
||
Returns: Map Of KeyAndValue - Serialized JSON response from VK | ||
|
||
```bsl title="Code example" | ||
Response = OPI_VK.AddProductToCollection(8656559, 40, Parameters); | ||
Response = OPI_Tools.JSONString(Response); | ||
``` | ||
|
||
```sh title="CLI command example" | ||
|
||
oint vk AddProductToCollection --items %items% --sel %sel% --auth %auth% | ||
|
||
``` | ||
|
||
|
||
```json title="Result" | ||
|
||
{ | ||
"response": 1 | ||
} | ||
|
||
``` |
Oops, something went wrong.