Skip to main content

Check products images upload

Check images upload by products IDs

Function CheckProductsImagesUpload(Val ClientID, Val APIKey, Val ProductsID) Export

ParameterCLI optionTypeRequiredDescription
ClientID--clientidStringClient identifier
APIKey--apikeyStringAPI key
ProductsID--productsString, Number, Array of String, NumberProduct IDs to be inspected

Returns: Map Of KeyAndValue - serialized JSON response from Ozon Seller API


tip

Method at API documentation: post /v1/product/pictures/info


1C:Enterprise/OneScript code example
    ClientID  = "2128753";
APIKey = "7cc90d26-33e4-499b...";
ProductID = "1235184552";

Result = OPI_Ozon.CheckProductsImagesUpload(ClientID, APIKey, ProductID);
    oint ozon CheckProductsImagesUpload \
--clientid "***" \
--apikey "***" \
--products 1235207802
Result
{
"result": {
"pictures": [
{
"product_id": 1215763512,
"url": "https://github.com/Bayselonarrend/OpenIntegrations/raw/main/service/test_data/picture.jpg",
"state": "imported",
"is_primary": true,
"is_360": false,
"is_color": false
},
{
"product_id": 1215763512,
"url": "https://github.com/Bayselonarrend/OpenIntegrations/raw/main/service/test_data/picture2.jpg",
"state": "imported",
"is_primary": false,
"is_360": false,
"is_color": false
},
{
"product_id": 1215763512,
"url": "GREEN",
"state": "imported",
"is_primary": false,
"is_360": false,
"is_color": true
}
]
}
}