curl --request POST \
--url http://api.withzimi.com/returns \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"email": "[email protected]",
"receive_by": "2024-09-01",
"total_price": 100,
"currency": "USD",
"weight": 23,
"weight_unit": "g",
"reason_of_return": "This is reason",
"length": 10,
"width": 10,
"height": 10,
"dimension_unit": "cm",
"return_line_items": [
{
"quantity": 1,
"unreceived_quantity": 0,
"name": "Product A",
"price": 119,
"currency": "USD",
"merchant_sku": "GHSAK42157614 - M"
},
{
"quantity": 2,
"unreceived_quantity": 1,
"name": "Product B",
"price": 25,
"currency": "USD",
"merchant_sku": "SKU67890"
}
]
}
'