Contains query criteria for the search.
SearchOrdersQuery
Name | Type | Tags | Description | Getter | Setter |
---|---|---|---|---|---|
filter |
?SearchOrdersFilter |
Optional | Filtering criteria to use for a SearchOrders request. Multiple filtersare ANDed together. |
getFilter(): ?SearchOrdersFilter | setFilter(?SearchOrdersFilter filter): void |
sort |
?SearchOrdersSort |
Optional | Sorting criteria for a SearchOrders request. Results can only be sortedby a timestamp field. |
getSort(): ?SearchOrdersSort | setSort(?SearchOrdersSort sort): void |
{
"filter": {
"state_filter": {
"states": [
"CANCELED",
"DRAFT"
]
},
"date_time_filter": {
"created_at": {
"start_at": "start_at4",
"end_at": "end_at8"
},
"updated_at": {
"start_at": "start_at6",
"end_at": "end_at6"
},
"closed_at": {
"start_at": "start_at4",
"end_at": "end_at8"
}
},
"fulfillment_filter": {
"fulfillment_types": [
"DELIVERY"
],
"fulfillment_states": [
"CANCELED",
"FAILED"
]
},
"source_filter": {
"source_names": [
"source_names6"
]
},
"customer_filter": {
"customer_ids": [
"customer_ids3",
"customer_ids4"
]
}
},
"sort": {
"sort_field": "UPDATED_AT",
"sort_order": "DESC"
}
}