Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Save gauravgargtech/53844f4ce480e9db903bc4520480382f to your computer and use it in GitHub Desktop.
Save gauravgargtech/53844f4ce480e9db903bc4520480382f to your computer and use it in GitHub Desktop.
order details - with return info at item level
{
"success": true,
"messages": [],
"message": [
{
"error": [],
"validate": [],
"success": [],
"notice": [],
"errors": []
}
],
"session": {
"id": "0io6af4knfv1dag5i480b1p8t2",
"expire": null,
"is_loggedin": true,
"app_cache_mt": {
"stmsgv": "1.3",
"hpbr": "1046",
"ct": 1469437781,
"bts": 1469426563,
"cots": 1469393394
},
"YII_CSRF_TOKEN": "797cda902510f250be7e3851bf1ac98900ec604f",
"rpid": null,
"api_token": "0io6af4knfv1dag5i480b1p8t2"
},
"server_flags": {
"webp_enabled": 1,
"gn_enabled": 0
},
"metadata": {
"orders": [
{
"order_date": "Mon, 25th Jul'16 at 2:27pm",
"order_number": "160725322565492",
"order_item_quantity": 4,
"payment_info": {
"total": "11345.00",
"shipping_charges": "0.00",
"payment_mode": "Cash On Delivery",
"subtotal": "11796.00",
"paid_amount_text": "Paid Amount",
"jabong_credits": "500.00",
"cod_charges": "49.00",
"special_shipping_service": {
"special_shipping_service_text": "",
"special_shipping_service_value": "0.00"
}
},
"order_shipping_address": {
"name": "Ssadha Handa",
"address1": "Mayur Vihat Pahsea Two Delhi,",
"address2": "New delhi-110049",
"phone": "+91 9764949949",
"city": "New delhi"
},
"can_change_address": 0,
"order_items": [
{
"sku": "CE496MA20GELINDFAS-1697427",
"brand": "Celio",
"name": "Solid Light Blue Shorts",
"size": "30",
"quantity": 1,
"status": "Delivered",
"delivery_time": "Mon, 25th Jul'16",
"is_delivered_flag": true,
"is_giftwrapped": "0",
"payment_info": {
"paid_price": "3499.00",
"mrp": "3499.00"
},
"return_info": {
"is_returnable": 0,
"return_expired": "You cannot return or exchange this Order as the 30 day Return/Exchange period has expired."
},
"docket": "M20140059",
"is_exchangeable": 0,
"exchange_message": "You cannot return or exchange this Order as returns/Exchange period has expired.",
"tracking_info": [
{
"title": "Your item(s) has been confirmed!",
"date": "25-07-2016",
"time": "14:28:50",
"color": "#67b000"
},
{
"title": "This product has been dispatched.",
"message": "",
"shipped_from": "BOMBAY PC",
"date": "25-07-2016",
"time": "14:29:06",
"carrier": "Javas",
"slip_number": "M20140059",
"tracking_url": "http://gojavas.com/docket_details.php?pop=docno&docno=M20140059",
"color": "#67b000"
},
{
"title": "Product has been delivered .",
"message": "",
"date": "25-07-2016",
"time": "14:30:45",
"color": "#67b000"
}
],
"image": "http://static.jabong.com/p/Celio-Solid-Light-Blue-Shorts-0659-971485-1-new_cart.jpg",
"link": "celio-Solid-Light-Blue-Shorts-584179.html",
"applied_special_service_name": "",
"is_cancellable": 0,
"is_cancelled": 0,
"message": "",
"can_be_cancelled": 0,
"item_id": "9037"
},
{
"sku": "CE496MA20GELINDFAS-1697428",
"brand": "Celio",
"name": "Solid Light Blue Shorts",
"size": "32",
"quantity": 1,
"status": "Confirmed",
"delivery_time": "Sat, 9th Jul'16",
"is_delivered_flag": false,
"is_giftwrapped": "0",
"payment_info": {
"paid_price": "3499.00",
"mrp": "3499.00"
},
"return_info": {
"is_returnable": 0
},
"docket": "M20140059",
"is_exchangeable": 0,
"exchange_message": "This item cannot be exchanged as delivery confirmation is still pending from our Courier Partner. ",
"tracking_info": [
{
"title": "Your item(s) has been confirmed!",
"date": "25-07-2016",
"time": "14:28:50",
"color": "#67b000"
}
],
"image": "http://static.jabong.com/p/Celio-Solid-Light-Blue-Shorts-0659-971485-1-new_cart.jpg",
"link": "celio-Solid-Light-Blue-Shorts-584179.html",
"applied_special_service_name": "",
"is_cancellable": 1,
"is_cancelled": 0,
"message": "",
"can_be_cancelled": 1,
"item_id": "9038"
},
{
"sku": "CE496MA10OXXINDFAS-1476597",
"brand": "Celio",
"name": "Beige Regular Fit Cargos",
"size": "32",
"quantity": 1,
"status": "Delivered",
"delivery_time": "Mon, 25th Jul'16",
"is_delivered_flag": true,
"is_giftwrapped": "0",
"payment_info": {
"paid_price": "3999.00",
"mrp": "3999.00"
},
"return_info": {
"is_returnable": 0,
"return_expired": "You cannot return or exchange this Order as the 30 day Return/Exchange period has expired."
},
"docket": "M20140059",
"is_exchangeable": 0,
"exchange_message": "You cannot return or exchange this Order as returns/Exchange period has expired.",
"tracking_info": [
{
"title": "Your item(s) has been confirmed!",
"date": "25-07-2016",
"time": "14:28:50",
"color": "#67b000"
},
{
"title": "This product has been dispatched.",
"message": "",
"shipped_from": "BOMBAY PC",
"date": "25-07-2016",
"time": "14:29:06",
"carrier": "Javas",
"slip_number": "M20140059",
"tracking_url": "http://gojavas.com/docket_details.php?pop=docno&docno=M20140059",
"color": "#67b000"
},
{
"title": "Product has been delivered .",
"message": "",
"date": "25-07-2016",
"time": "14:29:41",
"color": "#67b000"
}
],
"image": "http://static.jabong.com/p/Celio-Beige-Regular-Fit-Cargos-0121-987915-1-new_cart.jpg",
"link": "celio-Beige-Regular-Fit-Cargos-519789.html",
"applied_special_service_name": "",
"is_cancellable": 0,
"is_cancelled": 0,
"message": "",
"can_be_cancelled": 0,
"item_id": "9039"
},
{
"sku": "CE496MA96LPVINDFAS-1584097",
"brand": "Celio",
"name": "Aqua Blue Solid Henley T-Shirts",
"size": "M",
"quantity": 1,
"status": "Delivered",
"delivery_time": "Mon, 25th Jul'16",
"is_delivered_flag": true,
"is_giftwrapped": "0",
"payment_info": {
"paid_price": "799.00",
"mrp": "799.00"
},
"return_info": {
"is_returnable": 1
},
"docket": "M20140059",
"is_exchangeable": 1,
"tracking_info": [
{
"title": "Your item(s) has been confirmed!",
"date": "25-07-2016",
"time": "14:28:50",
"color": "#67b000"
},
{
"title": "This product has been dispatched.",
"message": "",
"shipped_from": "BOMBAY PC",
"date": "25-07-2016",
"time": "14:29:06",
"carrier": "Javas",
"slip_number": "M20140059",
"tracking_url": "http://gojavas.com/docket_details.php?pop=docno&docno=M20140059",
"color": "#67b000"
},
{
"title": "Product has been delivered .",
"message": "",
"date": "25-07-2016",
"time": "14:29:29",
"color": "#67b000"
}
],
"image": "http://static.jabong.com/p/Celio-Aqua-Blue-Solid-Henley-T-Shirts-1214-307255-1-new_cart.jpg",
"link": "celio-Aqua-Blue-Solid-Henley-T-Shirts-552703.html",
"applied_special_service_name": "",
"is_cancellable": 0,
"is_cancelled": 0,
"message": "",
"can_be_cancelled": 0,
"item_id": "9040"
}
],
"dockets": {
"M20140059": {
"items": [
{
"id": "9037",
"is_cancelled": 0,
"is_cancelable": 0,
"message": ""
},
{
"id": "9038",
"is_cancelled": 0,
"is_cancelable": 1,
"message": ""
},
{
"id": "9039",
"is_cancelled": 0,
"is_cancelable": 0,
"message": ""
},
{
"id": "9040",
"is_cancelled": 0,
"is_cancelable": 0,
"message": ""
}
],
"refund_amount": 11296,
"is_cancelled": 1
}
},
"return_enable_flag": "1",
"exchange_enable_flag": "1"
}
]
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment