@@ -96,6 +96,7 @@ message GroupedProduct {
|
||||
message Variant {
|
||||
int64 price = 1;
|
||||
repeated Property properties = 2;
|
||||
bool active = 3;
|
||||
}
|
||||
|
||||
message Property {
|
||||
@@ -155,6 +156,9 @@ message CardItem {
|
||||
double inventory = 9;
|
||||
int64 count = 10;
|
||||
int64 amount = 11;
|
||||
int64 amountOld = 12;
|
||||
repeated Variant variants = 13;
|
||||
repeated Label labels = 14;
|
||||
}
|
||||
|
||||
message CardReq {
|
||||
|
||||
@@ -0,0 +1,9 @@
|
||||
POST http://localhost:8090/card
|
||||
content-type: application/json
|
||||
|
||||
[
|
||||
{
|
||||
"product_id": 1,
|
||||
"count": 7
|
||||
}
|
||||
]
|
||||
Reference in New Issue
Block a user