Get product creation status
Gets the status of adding a new product by task ID
Function GetProductCreationStatus(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
tip
Method at API documentation: post /v1/product/import/info
Code example
ClientID = "2128753";
APIKey = "7cc90d26-33e4-499b...";
TaskID = "1289937770";
Result = OPI_Ozon.GetProductCreationStatus(ClientID, APIKey, TaskID);
CLI command example
oint ozon GetProductCreationStatus --clientid "2128753" --apikey "7cc90d26-33e4-499b..." --taskid %taskid%
Result
{
"result": {
"items": [
{
"offer_id": "143210608",
"product_id": 0,
"status": "pending",
"errors": []
}
],
"total": 1
}
}