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 | Required | 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
tip
Method at API documentation: post /v1/product/upload_digital_codes/info
1C:Enterprise/OneScript code example
ClientID = "2128753";
APIKey = "7cc90d26-33e4-499b...";
TaskID = "1";
Result = OPI_Ozon.GetCodesUploadStatus(ClientID, APIKey, TaskID);
- Bash
- CMD/Bat
oint ozon GetCodesUploadStatus \
--clientid "***" \
--apikey "***" \
--taskid 1
oint ozon GetCodesUploadStatus ^
--clientid "***" ^
--apikey "***" ^
--taskid 1
Result
{
"code": 7,
"message": "s2s: method \"/endpoints.v1.Service/GetDigitalCodesTaskByID\" is not allowed for the provided access tokens: permission denied",
"details": []
}