pb: add "categories" field to Product
This field can be used as the context keys to look up relevant ads in the ad service.
This commit is contained in:
parent
be65dd1fcd
commit
50cf755bd4
1 changed files with 4 additions and 0 deletions
|
@ -64,6 +64,10 @@ message Product {
|
||||||
string description = 3;
|
string description = 3;
|
||||||
string picture = 4;
|
string picture = 4;
|
||||||
Money price_usd = 5;
|
Money price_usd = 5;
|
||||||
|
|
||||||
|
// Categories such as "vintage" or "gardening" that can be used to look up
|
||||||
|
// other related products.
|
||||||
|
repeated string categories = 6;
|
||||||
}
|
}
|
||||||
|
|
||||||
message ListProductsResponse {
|
message ListProductsResponse {
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue