Compare commits

...

4 Commits

Author SHA1 Message Date
debf67d5ed Update proto definitions 2025-09-21 23:00:26 +03:00
8aea1ed411 Update proto definitions 2025-08-17 06:36:47 +03:00
ba85f290b8 Update proto definitions 2025-08-17 06:35:09 +03:00
1d7dc237a2 Update proto definitions 2025-08-17 06:30:52 +03:00
2 changed files with 15 additions and 12 deletions

View File

@@ -42,6 +42,9 @@ message Product {
repeated Photo photos = 6; repeated Photo photos = 6;
Dimensions dimensions = 7; Dimensions dimensions = 7;
string title = 8; string title = 8;
string brand = 9;
string description = 10;
} }
message GetProductsResponse { message GetProductsResponse {
repeated Product products = 1; repeated Product products = 1;

View File

@@ -9,13 +9,13 @@ service ProductsService {
message CalculateProductTariffsRequest { message CalculateProductTariffsRequest {
message Offers { message Offer {
int64 category_id = 1; int64 category_id = 1;
int64 price = 2; float price = 2;
int64 length = 3; float length = 3;
int64 width = 4; float width = 4;
int64 height = 5; float height = 5;
int64 weight = 6; float weight = 6;
int64 quantity = 7; int64 quantity = 7;
} }
@@ -28,18 +28,18 @@ message CalculateProductTariffsRequest {
int64 marketplace_id = 1; int64 marketplace_id = 1;
Parameters parameters = 2; Parameters parameters = 2;
repeated Offers offers = 3; repeated Offer offers = 3;
} }
message CalculateProductTariffsResponse { message CalculateProductTariffsResponse {
message Offer { message Offer {
int64 category_id = 1; int64 category_id = 1;
int64 price = 2; float price = 2;
int64 length = 3; float length = 3;
int64 width = 4; float width = 4;
int64 height = 5; float height = 5;
int64 weight = 6; float weight = 6;
int64 quantity = 7; int64 quantity = 7;
} }