Update proto definitions
This commit is contained in:
@@ -3,4 +3,23 @@ package wb.products;
|
|||||||
option go_package = "./wb/products";
|
option go_package = "./wb/products";
|
||||||
|
|
||||||
service ProductsService {
|
service ProductsService {
|
||||||
|
rpc GetProducts(GetProductsRequest) returns (stream GetProductsResponse);
|
||||||
|
}
|
||||||
|
|
||||||
|
message GetProductsRequest {
|
||||||
|
int64 marketplace_id = 1;
|
||||||
|
|
||||||
|
}
|
||||||
|
|
||||||
|
message Product {
|
||||||
|
message Size{
|
||||||
|
repeated string skus = 1;
|
||||||
|
}
|
||||||
|
int64 nm_id = 1;
|
||||||
|
int64 subject_id = 2;
|
||||||
|
string vendor_code = 3;
|
||||||
|
repeated Size sizes = 4;
|
||||||
|
}
|
||||||
|
message GetProductsResponse {
|
||||||
|
repeated Product products = 1;
|
||||||
}
|
}
|
||||||
Reference in New Issue
Block a user