add 'paidAt<From|To>' filter for orders request

This commit is contained in:
defernest 2022-06-15 18:53:33 +03:00
parent f6b4a15f78
commit 6f7fb5ceb9

View File

@ -207,6 +207,8 @@ type OrdersFilter struct {
Sites []string `url:"sites,omitempty,brackets"` Sites []string `url:"sites,omitempty,brackets"`
CreatedAtFrom string `url:"createdAtFrom,omitempty"` CreatedAtFrom string `url:"createdAtFrom,omitempty"`
CreatedAtTo string `url:"createdAtTo,omitempty"` CreatedAtTo string `url:"createdAtTo,omitempty"`
PaidAtFrom string `url:"paidAtFrom, omitempty"`
PaidAtTo string `url:"paidAtTo, omitempty"`
FullPaidAtFrom string `url:"fullPaidAtFrom,omitempty"` FullPaidAtFrom string `url:"fullPaidAtFrom,omitempty"`
FullPaidAtTo string `url:"fullPaidAtTo,omitempty"` FullPaidAtTo string `url:"fullPaidAtTo,omitempty"`
DeliveryDateFrom string `url:"deliveryDateFrom,omitempty"` DeliveryDateFrom string `url:"deliveryDateFrom,omitempty"`