-
-
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.
OZON: Подписчики товара и коды активации
- Loading branch information
1 parent
98f1fdb
commit f8677b7
Showing
73 changed files
with
5,547 additions
and
4,063 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
oint ozon GetCodesUploadStatus --clientid "2128753" --apikey "7cc90d26-33e4-499b..." --taskid %taskid% |
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 @@ | ||
oint ozon GetProductSubscribersCount --clientid "2128753" --apikey "7cc90d26-33e4-499b..." --sku %sku% |
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 @@ | ||
oint ozon UploadProductActivationCodes --clientid "2128753" --apikey "7cc90d26-33e4-499b..." --productid "1111588191" --codes %codes% |
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,5 @@ | ||
{ | ||
"ClientID": "2128753", | ||
"APIKey": "7cc90d26-33e4-499b...", | ||
"TaskID": "" | ||
} |
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,4 @@ | ||
{ | ||
"ClientID": "2128753", | ||
"APIKey": "7cc90d26-33e4-499b..." | ||
} |
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,5 @@ | ||
{ | ||
"ClientID": "2128753", | ||
"APIKey": "7cc90d26-33e4-499b...", | ||
"ProductID": 1111588191 | ||
} |
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,5 @@ | ||
ClientID = "2128753"; | ||
APIKey = "7cc90d26-33e4-499b..."; | ||
TaskID = ""; | ||
|
||
Result = OPI_Ozon.GetCodesUploadStatus(ClientID, APIKey, TaskID); |
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,5 @@ | ||
ClientID = "2128753"; | ||
APIKey = "7cc90d26-33e4-499b..."; | ||
SKU = 1626044001; | ||
|
||
Result = OPI_Ozon.GetProductSubscribersCount(ClientID, APIKey, SKU); |
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,9 @@ | ||
ClientID = "2128753"; | ||
APIKey = "7cc90d26-33e4-499b..."; | ||
ProductID = "1111588191"; | ||
|
||
Codes = New Array; | ||
Codes.Add("11111111"); | ||
Codes.Add("22222222"); | ||
|
||
Result = OPI_Ozon.UploadProductActivationCodes(ClientID, APIKey, ProductID, Codes); |
2 changes: 1 addition & 1 deletion
2
docs/en/md/Ozon/Uploading-and-updating-products/Add-product-video-cover.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 |
---|---|---|
@@ -1,5 +1,5 @@ | ||
--- | ||
sidebar_position: 21 | ||
sidebar_position: 24 | ||
--- | ||
|
||
# Add product video cover | ||
|
2 changes: 1 addition & 1 deletion
2
docs/en/md/Ozon/Uploading-and-updating-products/Add-product-video.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 |
---|---|---|
@@ -1,5 +1,5 @@ | ||
--- | ||
sidebar_position: 20 | ||
sidebar_position: 23 | ||
--- | ||
|
||
# Add product video | ||
|
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
2 changes: 1 addition & 1 deletion
2
docs/en/md/Ozon/Uploading-and-updating-products/Check-products-images-upload.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 |
---|---|---|
@@ -1,5 +1,5 @@ | ||
--- | ||
sidebar_position: 11 | ||
sidebar_position: 10 | ||
--- | ||
|
||
# Check products images upload | ||
|
2 changes: 1 addition & 1 deletion
2
docs/en/md/Ozon/Uploading-and-updating-products/Complete-complex-attribute.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 |
---|---|---|
@@ -1,5 +1,5 @@ | ||
--- | ||
sidebar_position: 22 | ||
sidebar_position: 25 | ||
--- | ||
|
||
# Complete the complex attribute | ||
|
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
2 changes: 1 addition & 1 deletion
2
docs/en/md/Ozon/Uploading-and-updating-products/Get-attributes-update-structure.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 |
---|---|---|
@@ -1,5 +1,5 @@ | ||
--- | ||
sidebar_position: 18 | ||
sidebar_position: 21 | ||
--- | ||
|
||
# Get attributes update structure | ||
|
47 changes: 47 additions & 0 deletions
47
docs/en/md/Ozon/Uploading-and-updating-products/Get-codes-upload-status.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,47 @@ | ||
--- | ||
sidebar_position: 18 | ||
--- | ||
|
||
# Get codes upload status | ||
Gets the status of digital item codes upload by task ID | ||
|
||
|
||
|
||
`Function GetCodesUploadStatus(Val ClientID, Val APIKey, Val TaskID) Export` | ||
|
||
| Parameter | CLI option | Type | Description | | ||
|-|-|-|-| | ||
| ClientID | --clientid | String | Client identifier | | ||
| APIKey | --apikey | String | API key | | ||
| TaskID | --taskid | String, Number | Add product task ID | | ||
|
||
|
||
Returns: Map Of KeyAndValue - Serialized JSON response from Ozon Seller API | ||
|
||
<br/> | ||
|
||
:::tip | ||
Method at API documentation: [post /v1/product/upload_digital_codes/info](https://docs.ozon.ru/api/seller/#operation/ProductAPI_UploadDigitalCodeInfo) | ||
::: | ||
<br/> | ||
|
||
|
||
```bsl title="Code example" | ||
ClientID = "2128753"; | ||
APIKey = "7cc90d26-33e4-499b..."; | ||
TaskID = ""; | ||
Result = OPI_Ozon.GetCodesUploadStatus(ClientID, APIKey, TaskID); | ||
``` | ||
|
||
|
||
|
||
```sh title="CLI command example" | ||
|
||
oint ozon GetCodesUploadStatus --clientid "2128753" --apikey "7cc90d26-33e4-499b..." --taskid %taskid% | ||
|
||
``` | ||
|
||
```json title="Result" | ||
|
||
``` |
2 changes: 1 addition & 1 deletion
2
docs/en/md/Ozon/Uploading-and-updating-products/Get-product-creation-status.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 |
---|---|---|
@@ -1,5 +1,5 @@ | ||
--- | ||
sidebar_position: 10 | ||
sidebar_position: 17 | ||
--- | ||
|
||
# Get product creation status | ||
|
2 changes: 1 addition & 1 deletion
2
docs/en/md/Ozon/Uploading-and-updating-products/Get-product-structure.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 |
---|---|---|
@@ -1,5 +1,5 @@ | ||
--- | ||
sidebar_position: 16 | ||
sidebar_position: 19 | ||
--- | ||
|
||
# Get product structure | ||
|
47 changes: 47 additions & 0 deletions
47
docs/en/md/Ozon/Uploading-and-updating-products/Get-product-subscribers-count.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,47 @@ | ||
--- | ||
sidebar_position: 16 | ||
--- | ||
|
||
# Get product subscribers count | ||
Gets the number of users who clicked Know about arrival button on the product page | ||
|
||
|
||
|
||
`Function GetProductSubscribersCount(Val ClientID, Val APIKey, Val SKU) Export` | ||
|
||
| Parameter | CLI option | Type | Description | | ||
|-|-|-|-| | ||
| ClientID | --clientid | String | Client identifier | | ||
| APIKey | --apikey | String | API key | | ||
| SKU | --sku | Number, Array Of Number | Products identifiers in the Ozon system (SKU) | | ||
|
||
|
||
Returns: Map Of KeyAndValue - Serialized JSON response from Ozon Seller API | ||
|
||
<br/> | ||
|
||
:::tip | ||
Method at API documentation: [post /v1/product/info/subscription](https://docs.ozon.ru/api/seller/#operation/ProductAPI_GetProductInfoSubscription) | ||
::: | ||
<br/> | ||
|
||
|
||
```bsl title="Code example" | ||
ClientID = "2128753"; | ||
APIKey = "7cc90d26-33e4-499b..."; | ||
SKU = 1626044001; | ||
Result = OPI_Ozon.GetProductSubscribersCount(ClientID, APIKey, SKU); | ||
``` | ||
|
||
|
||
|
||
```sh title="CLI command example" | ||
|
||
oint ozon GetProductSubscribersCount --clientid "2128753" --apikey "7cc90d26-33e4-499b..." --sku %sku% | ||
|
||
``` | ||
|
||
```json title="Result" | ||
|
||
``` |
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
2 changes: 1 addition & 1 deletion
2
docs/en/md/Ozon/Uploading-and-updating-products/Get-products-filter-structure.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 |
---|---|---|
@@ -1,5 +1,5 @@ | ||
--- | ||
sidebar_position: 19 | ||
sidebar_position: 22 | ||
--- | ||
|
||
# Get products filter structure | ||
|
2 changes: 1 addition & 1 deletion
2
.../en/md/Ozon/Uploading-and-updating-products/Get-simplified-product-structure.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 |
---|---|---|
@@ -1,5 +1,5 @@ | ||
--- | ||
sidebar_position: 17 | ||
sidebar_position: 20 | ||
--- | ||
|
||
# Get simplified product structure | ||
|
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
2 changes: 1 addition & 1 deletion
2
docs/en/md/Ozon/Uploading-and-updating-products/Update-products-articles.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 |
---|---|---|
@@ -1,5 +1,5 @@ | ||
--- | ||
sidebar_position: 12 | ||
sidebar_position: 11 | ||
--- | ||
|
||
# Update products articles | ||
|
56 changes: 56 additions & 0 deletions
56
docs/en/md/Ozon/Uploading-and-updating-products/Upload-product-activation-codes.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,56 @@ | ||
--- | ||
sidebar_position: 15 | ||
--- | ||
|
||
# Upload product activations codes | ||
Uploads activation codes for a digital product or service | ||
|
||
|
||
|
||
`Function UploadProductActivationCodes(Val ClientID, Val APIKey, Val ProductID, Val Codes) Export` | ||
|
||
| Parameter | CLI option | Type | Description | | ||
|-|-|-|-| | ||
| ClientID | --clientid | String | Client identifier | | ||
| APIKey | --apikey | String | API key | | ||
| ProductID | --productid | Number | Product ID | | ||
| Codes | --codes | String, Array of String | Digital product activation codes | | ||
|
||
|
||
Returns: Map Of KeyAndValue - Serialized JSON response from Ozon Seller API | ||
|
||
<br/> | ||
|
||
:::tip | ||
The activation code is linked to the digital product card | ||
|
||
Uploading status check - GetCodesUploadStatus() | ||
|
||
Method at API documentation: [post /v1/product/upload_digital_codes](https://docs.ozon.ru/api/seller/#operation/ProductAPI_UploadDigitalCode) | ||
::: | ||
<br/> | ||
|
||
|
||
```bsl title="Code example" | ||
ClientID = "2128753"; | ||
APIKey = "7cc90d26-33e4-499b..."; | ||
ProductID = "1111588191"; | ||
Codes = New Array; | ||
Codes.Add("11111111"); | ||
Codes.Add("22222222"); | ||
Result = OPI_Ozon.UploadProductActivationCodes(ClientID, APIKey, ProductID, Codes); | ||
``` | ||
|
||
|
||
|
||
```sh title="CLI command example" | ||
|
||
oint ozon UploadProductActivationCodes --clientid "2128753" --apikey "7cc90d26-33e4-499b..." --productid "1111588191" --codes %codes% | ||
|
||
``` | ||
|
||
```json title="Result" | ||
|
||
``` |
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 @@ | ||
oint ozon ЗагрузитьКодыАктивацииТовара --clientid "2128753" --apikey "7cc90d26-33e4-499b..." --productid "1111588191" --codes %codes% |
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 @@ | ||
oint ozon ПолучитьКоличествоПодписчиковТоваров --clientid "2128753" --apikey "7cc90d26-33e4-499b..." --sku %sku% |
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 @@ | ||
oint ozon ПолучитьСтатусДобавленияКодов --clientid "2128753" --apikey "7cc90d26-33e4-499b..." --taskid %taskid% |
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,5 @@ | ||
{ | ||
"IDКлиента": "2128753", | ||
"КлючAPI": "7cc90d26-33e4-499b...", | ||
"IDТовара": 1111588191 | ||
} |
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,4 @@ | ||
{ | ||
"IDКлиента": "2128753", | ||
"КлючAPI": "7cc90d26-33e4-499b..." | ||
} |
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,5 @@ | ||
{ | ||
"IDКлиента": "2128753", | ||
"КлючAPI": "7cc90d26-33e4-499b...", | ||
"IDЗадачи": "" | ||
} |
Oops, something went wrong.