Filters
A comprehensive list of the allowed fields values you can use to filter the results of the queries on the return resource
{
"{{query_type}}": { ... },
"filter": {
"return": {
"date_from": "...",
"date_to": "...",
"date_field": "...",
"skus_count": {
"gte": ...
}
// ...
},
"return_line_items": {
"quantity": {
"lt": ...
},
"restocked_at": {
"gt": "..."
}
},
"customer": {
"email": {
"not_in": [
"...",
"..."
// ...
]
}
// ...
}
// ...
}
}Filterable fields and allowed operators
customer field
customer fieldAttribute
Type
Values
destination_address field
destination_address fieldAttribute
Type
Values
origin_address field
origin_address fieldAttribute
Type
Values
market field
market fieldAttribute
Type
Values
return field
return fieldAttribute
Type
Values
return_line_items field
return_line_items fieldAttribute
Type
Values
stock_location field
stock_location fieldAttribute
Type
Values
tags field
tags fieldAttribute
Type
Values
Last updated