curl -i -X POST \
https://developer.optoro.com/_mock/openapi/rmas/4/openapi/rmas \
-H 'Content-Type: application/json' \
-H 'X-Optiturn-Api-Version: 3' \
-H 'X-Optiturn-Id: Modrno' \
-d '{
"rma_identifier": "rma1234",
"status": "CREATED",
"created_at": "2018-08-30T15:39:42.025Z",
"updated_at": "2018-08-30T15:39:42.025Z",
"items": [
{
"order_line_item_identifier": "1",
"order_identifier": "o12345",
"secondary_identifier": "soi12345",
"exchange_order_identifier": "eoid23456",
"original_order_identifier": "ooid3456",
"return_reason": "Too Small",
"is_exchange": true,
"sku": "Sku1234",
"upc": "UPC1234",
"tracking_number": "1Z403818413131",
"package_tracking_status": "PRE_TRANSIT",
"receiving_status": "PENDING",
"refund_financials": {
"estimated_refund_amount_cents": 1000,
"optoro_refund_amount_cents": 0,
"shopper_refund_amount_cents": 1000
},
"refund_type": "REFUND"
}
],
"return_method": "mail-back",
"return_shipping_cost_cents": 100,
"bonus_credit_amount_cents": 0,
"receiving_complete": false,
"gift_refund_only": false,
"giftee_email": "testemail@domain.com",
"warehouse_id": "1",
"vendor": "modrno",
"concept": "concept"
}'