curl --location '/api/v1/return-shipments/b2c/create' \
--header 'Accept-Language: vi' \
--header 'Authorization: <api-key>' \
--header 'Content-Type: application/json' \
--data '{
"warehouse_code": "ONF_WH_HN_LB",
"merchant_return_tracking_code_reference": "{{merchant_return_tracking_code_reference}}",
"shipment_tracking_code": "OASC209011649",
"return_courier_tracking_code": "{{return_courier_tracking_code}}",
"carrier_code": "GHN",
"return_items": [
{
"oasin": "OASIN4091782",
"product_quantity": 3
},
{
"oasin": "OASIN7426319",
"product_quantity": 3
}
],
"return_reason": "Customer requested return"
}'{
"data": {
"created_time": 1774506251,
"updated_time": 1774506252,
"return_tracking_code": "OARSC98220674",
"status_info": {
"value": 100,
"label": "Chờ nhận",
"updated_time": 1774506251
},
"status": 100
},
"error": false,
"error_code": null,
"log_id": null,
"messages": "OK",
"total": 1,
"version": "1.0.3",
"error_detail": null
}