Return Query (Marketplace)
Through this service; You can view the returns for the specified date range.
The date range should be a maximum of 7 days.
GET
https://marketplace-stg.modanisa.com/api/marketplace/returnList
Parameter |
Explanation |
Data Type |
Compulsory |
startDateTime |
Order creation date (beginning) |
Datetime (Y-m-d H:i:s) |
Yes |
endDateTime |
Order occurrence date (end) |
Datetime (Y-m-d H:i:s) |
Yes |
orderId |
Order number |
integer |
No |
mocked |
In order to get a mocked response |
integer (0,1) |
No |
You can make a request to the return inquiry service in two ways.
1- Request ( raw body ):
{
"startDateTime": "2020-08-10 00:00:00",
"endDateTime": "2020-08-17 00:00:00",
"orderId": "123456"
}
2- Request ( url parameter ):
/orderList?startDateTime=2019-06-29T00:00:00&endDateTime=2019-06-30T23:59:59&orderId=123456
Response:
{
"success": true,
"message": "success",
"status_code": 200,
"data": {
"dateTimeRange": {
"startDateTime": "2020-07-01 12:20:01",
"endDateTime": "2020-07-07 12:50:07"
},
"returns": {
"totalCount": 1,
"details": [
{
"claimId": "1374159",
"orderId": "47725985",
"date": "2020-07-02 12:50:07",
"products": [
{
"productName": "Pantolon - İndigo",
"productId": "3756343-FFB",
"variantId": "2383633",
"modanisaProductId": "1097811",
"modanisaVariantId": "2391532",
"modanisaOrderProductId": "283838267",
"quantity": "1",
"price": "157.66",
"currency": "TRY"
},
{
"productName": "Pantolon - Kırmızı",
"productId": "3756343-FFB",
"variantId": "2383633",
"modanisaProductId": "1097811",
"modanisaVariantId": "2391532",
"modanisaOrderProductId": "283838267",
"quantity": "1",
"price": "157.66",
"currency": "TRY"
}
]
}
]
}
}
}