diff --git a/ozon/products.proto b/ozon/products.proto index a9f8ec5..ebc168b 100644 --- a/ozon/products.proto +++ b/ozon/products.proto @@ -32,22 +32,27 @@ message Product { Stocks stocks = 3; repeated string barcodes = 4; Status statuses = 5; + repeated Error errors = 6; message Status { string status_name = 1; } - message Stocks{ repeated Stock stocks = 1; bool has_stock = 2; } + message Stock{ int64 present = 1; int64 reserved = 2; int64 SKU = 3; string source = 4; } + + message Error{ + string code = 1; + } }