@@ -27,7 +27,7 @@ type GetStocksInfoParams struct {
|
|||||||
|
|
||||||
type GetStocksInfoFilter struct {
|
type GetStocksInfoFilter struct {
|
||||||
// Filter by the offer_id parameter. It is possible to pass a list of values
|
// Filter by the offer_id parameter. It is possible to pass a list of values
|
||||||
OfferId string `json:"offer_id,omitempty"`
|
OfferId []string `json:"offer_id,omitempty"`
|
||||||
|
|
||||||
// Filter by the product_id parameter. It is possible to pass a list of values
|
// Filter by the product_id parameter. It is possible to pass a list of values
|
||||||
ProductId int64 `json:"product_id,omitempty"`
|
ProductId int64 `json:"product_id,omitempty"`
|
||||||
|
|||||||
@@ -26,7 +26,7 @@ func TestGetStocksInfo(t *testing.T) {
|
|||||||
Limit: 100,
|
Limit: 100,
|
||||||
LastId: "",
|
LastId: "",
|
||||||
Filter: GetStocksInfoFilter{
|
Filter: GetStocksInfoFilter{
|
||||||
OfferId: "136834",
|
OfferId: []string{"136834"},
|
||||||
ProductId: 214887921,
|
ProductId: 214887921,
|
||||||
Visibility: "ALL",
|
Visibility: "ALL",
|
||||||
},
|
},
|
||||||
|
|||||||
Reference in New Issue
Block a user