returns
Query export on returns
Get export results from returns
post/returns/export
Request
- Base URLhttps://{your-domain}.commercelayer.io/metrics
- URLhttps://{your-domain}.commercelayer.io/metrics/returns/export
- AuthHTTP bearer
Request body
Example request
{
"filter": {
"market": {
"numbers": {
"in": [
8
]
}
},
"return": {
"date_from": "2022-07-06T21:41:03Z",
"date_to": "2022-07-06T21:41:03Z",
"approved_at": {
"gt_lt": [
"2022-07-06T21:41:03Z"
]
},
"archived_at": {
"gt_lt": [
"2022-07-06T21:41:03Z"
]
},
"cancelled_at": {
"gt_lt": [
"2022-07-06T21:41:03Z"
]
},
"created_at": {
"gt_lt": [
"2022-07-06T21:41:03Z"
]
},
"received_at": {
"gt_lt": [
"2022-07-06T21:41:03Z"
]
},
"rejected_at": {
"gt_lt": [
"2022-07-06T21:41:03Z"
]
},
"shipped_at": {
"gt_lt": [
"2022-07-06T21:41:03Z"
]
},
"updated_at": {
"gt_lt": [
"2022-07-06T21:41:03Z"
]
},
"current_date": {
"gt_lt": [
"2022-07-06T21:41:03Z"
]
},
"skus_count": {
"gt_lt": [
8
]
}
},
"return_line_items": {
"created_at": {
"gt_lt": [
"2022-07-06T21:41:03Z"
]
},
"quantity": {
"gt_lt": [
8
]
},
"restocked_at": {
"gt_lt": [
"2022-07-06T21:41:03Z"
]
},
"updated_at": {
"gt_lt": [
"2022-07-06T21:41:03Z"
]
},
"line_item_total_amount": {
"gt_lt": [
121
]
},
"line_item_tax_amount": {
"gt_lt": [
121
]
},
"line_item_tax_rate": {
"gt_lt": [
121
]
},
"line_item_updated_at": {
"gt_lt": [
"2022-07-06T21:41:03Z"
]
}
}
}
}Response
The export result from returns
Changes
No recorded changes to this operation across all 1 revision of this API.