Skip to main content

Get codes upload status

Gets the status of digital item codes upload by task ID

Function GetCodesUploadStatus(Val ClientID, Val APIKey, Val TaskID) Export

ParameterCLI optionTypeRequiredDescription
ClientID--clientidStringClient identifier
APIKey--apikeyStringAPI key
TaskID--taskidString, NumberAdd 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);
    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": []
}