/
POST Create Order Return

We’re excited to announce that the latest information is now available on our new site, the Ginesys One Wiki!. Visit the site for up-to-date resources and insights. We look forward to continuing to support you there!

POST Create Order Return

Verify the returns received at the Warehouse, categorize as Good and Bad Returns along with Tracking information and Custom Notes against each Item returned.

Endpoint

https://app.browntape.com/0.1/orders/create_order_return.json

Parameters to be passed

?username=XXXXXXXXXX &auth_string=YYYYYYYYY

Post Parameters

{ data: [ { "order_id": 25544, "mark_return_received": false//“booleandefaultfalse”, "add_inventory": true//“booleandefaulttrue”, "executed_shipping_method": "Bluedart", "tracking_number": 123, "return_reason": "wrong product delivered", "note": "note 1", "item_returns": [ { "item_titles_order_id": 28347, "good_return_quantity": 1, "bad_return_quantity": 0 }, { "item_titles_order_id": 28348, "good_return_quantity": 1, "bad_return_quantity": 0 } ] }, { "order_id": 25544, "mark_return_received": false//“booleandefaultfalse”, "add_inventory": true//“booleandefaulttrue”, "executed_shipping_method": "Bluedart", "tracking_number": 123, "return_reason": "wrong product delivered", "note": "note 1", "item_returns": [ { "item_titles_order_id": 28347, "good_return_quantity": 1, "bad_return_quantity": 0 }, { "item_titles_order_id": 28348, "good_return_quantity": 1, "bad_return_quantity": 0 } ] } ] }

SuccessResponse

{ "status_code": 200, "success": true, "message": "Successfully created returns", "server": "172.18.0.6" }

FailedResponse

{ "status_code": 500, "success": false, "message": "Some orders failed", "errors": [ { "order_id": 25555, "message": "item_titles_order_id: 28364 You cannot return more items than you sold" }, { "order_id": 25554, "message": "item_titles_order_id: 28361 You cannot return more items than you sold" }, { "order_id": 25554, "message": "item_titles_order_id: 28362 You cannot return more items than you sold" } ], "server": "172.18.0.6" }

Related content