/
POST Save Order Item Attempts

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 Save Order Item Attempts

Save delivery and service attempts against order item ids. Only relevant for Flipkart Self Ship orders

End point

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

Parameters to be passed

?username=XXXXXXXXXX &auth_string=YYYYYYYYY

Post Parameters

{ data: [ { "item_titles_order_id": 242342342432, "type": "delivery" // allowed "delivery"/"service", "reason": "no show", "sub_reason": "premises locked", "comments": "even after calling beforehand, premises was locked", "attempt_date": "2019-01-27 18:30+00:00", "next_attempt_date": "2019-01-31 18:30+00:00" }, { "item_titles_order_id": 242342342443, "type": "delivery" // allowed "delivery"/"service", "reason": "no show", "sub_reason": "customer not available", "comments": "customer said on phone that she will not be available", "attempt_date": "2019-01-27 18:30+00:00", "next_attempt_date": "2019-01-31 18:30+00:00" } ]   }

Response

Overall success of the call depends on the success of saving of the individual attempts

{ "success": false, "data": [ { "id": 1029340, "success": true, "token": "5244afad3a2795c762d0d3fed96c61d4", "item_titles_order_id": 242342342432, "type": "delivery"//allowed=>"delivery"/"service""reason": "no show", "sub_reason": "premises locked", "comments": "even after calling beforehand, premises was locked", "attempt_date": "2019-01-27 18:30+00:00", "next_attempt_date": "2019-01-31 18:30+00:00" }, { "success": false, "error": "Order is not seller shipped service type, hence cannot save service attempts", "item_titles_order_id": 242342342443, "type": "service"//allowed=>"delivery"/"service""reason": "no show", "sub_reason": "customer not available", "comments": "customer said on phone that she will not be available", "attempt_date": "2019-01-27 18:30+00:00", "next_attempt_date": "2019-01-31 18:30+00:00" }, ] }

Related content