Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Save gauravgargtech/17d75de9e3f0deb0bf889ed9e816b30a to your computer and use it in GitHub Desktop.
Save gauravgargtech/17d75de9e3f0deb0bf889ed9e816b30a to your computer and use it in GitHub Desktop.
Cancellation - Order details
{
"address_mismatch": 0,
"agent_info": null,
"bank_name": null,
"billing_address": {
"address1": "fghfh",
"address2": null,
"address_type": null,
"alternate_phone": null,
"city": "Udupi",
"first_name": "dfgf",
"id": 70710433,
"last_name": "",
"middle_name": null,
"phone": "++YkQ3myJWDq4Ty9gsj20C2B6o+RtXq9weoOTCgc+84=",
"postcode": "576105",
"region": "KAR"
},
"card_type": null,
"corporate_currency_value": 0,
"corporate_transaction_id": null,
"coupon_code": null,
"created_at": "2015-07-07T17:10:20+05:30",
"customer_id": 9950424,
"customer_segment": {
"discount_score": 2,
"frequency": 1,
"id": 3895946,
"mvp_score": 0,
"recency": 2,
"segment": 3
},
"domain": "w",
"email": "g4efC4hWppCQUOQjZ7eRuX/HximyOBTgNb3Xb/WR+ow=",
"first_time_user": 0,
"fk_corporate_customer": null,
"gift_wrap": null,
"grand_total": 0,
"id": 30375737,
"id_sales_order_process": 1002,
"ip": "HTTPS",
"is_pickup": 0,
"items": [{
"barcode": null,
"brand_name": "",
"brick_name": "",
"bundle_discount": 0,
"bundle_pack_identifier_key": null,
"carrier": null,
"cod_charge": 0,
"color_name": "",
"corporate_currency_value": 0,
"coupon_money": 0,
"coupon_percent": null,
"created_at": "2015-07-07T17:10:20+05:30",
"custom_settings": null,
"customization_cost": null,
"delivery_time": "3-4",
"discount_amount": 0,
"discount_cap": 0,
"dispatch_location": "Warehouse",
"dispatch_time": 1,
"expected_dispatch_date": "2015-07-08T00:00:00+05:30",
"expected_shipping_partner": "JAVAS",
"extected_delivery_date": "2015-07-11T00:00:00+05:30",
"gift_credits_used": 0,
"id": 52041893,
"id_sku_bundle": null,
"is_cancelable": 1,
"is_cancelled": 1, -------------- New addition
"docket": 120, -------------- New Addition
"message": "item is already cancelled",
"is_cod": 1,
"is_customized": 0,
"is_fragile": 0,
"is_gift_wrapped": 0,
"is_multiple_shipments": 0,
"is_returnable": 2,
"is_surface": 0,
"is_vat_charged": 0,
"item_status": "exportable",
"last_status_change": "2015-07-07T17:10:20+05:30",
"margin": 0,
"mode_of_discount_amount": 0,
"mode_of_payment_amount": 0,
"money_refunded": 0,
"name": "On Court Iv Lp Black Sneakers",
"order_type": null,
"original_unit_price": 1999,
"pack_quantity": 1,
"paid_price": 0,
"payback_credits_value": 0,
"payback_earn_value": 0,
"preorder_campaign_name": "",
"preorder_item_dispatch_date": null,
"processing_time": "1",
"refund_method": null,
"return_info": null,
"reward_points": 79.96,
"shipment_date": null,
"shipment_type": "Own Warehouse",
"shipping_charge": 0,
"size": null,
"sku": "RE105SH28TUTINDFAS-3483607",
"slip_number": null,
"store_credits_used": 1999,
"supplier_name": null,
"tax": 0,
"tax_percentage": 0,
"unit_price": 1999,
"updated_at": "2015-07-07T17:10:20+05:30",
"vat_amount": 0,
"voucher_refunded": 0
}, {
"barcode": null,
"brand_name": "",
"brick_name": "",
"bundle_discount": 0,
"bundle_pack_identifier_key": null,
"carrier": null,
"color_name": "",
"corporate_currency_value": 0,
"coupon_money": 0,
"coupon_percent": null,
"created_at": "2015-07-07T17:10:20+05:30",
"custom_settings": null,
"customization_cost": null,
"delivery_time": "3-4",
"discount_amount": 0,
"discount_cap": 0,
"dispatch_location": "Warehouse",
"dispatch_time": 1,
"expected_dispatch_date": "2015-07-08T00:00:00+05:30",
"expected_shipping_partner": "JAVAS",
"extected_delivery_date": "2015-07-11T00:00:00+05:30",
"gift_credits_used": 0,
"id": 52041894,
"id_sku_bundle": null,
"is_cancelable": 1,
"is_cancelled": 0, -------------- New Addition
"docket": 120, -------------- New Addition
"message": "",
"is_cod": 1,
"is_customized": 0,
"is_fragile": 0,
"is_gift_wrapped": 0,
"is_multiple_shipments": 0,
"is_returnable": 2,
"is_surface": 0,
"is_vat_charged": 0,
"item_status": "exportable",
"last_status_change": "2015-07-07T17:10:20+05:30",
"margin": null,
"mode_of_discount_amount": 0,
"mode_of_payment_amount": 0,
"money_refunded": 0,
"name": "Blue Slim Fit Jeans",
"order_type": null,
"original_unit_price": 995,
"pack_quantity": 1,
"paid_price": 0,
"payback_credits_value": 0,
"payback_earn_value": 0,
"preorder_campaign_name": "",
"preorder_item_dispatch_date": null,
"processing_time": "1",
"refund_method": null,
"return_info": null,
"reward_points": 39.8,
"shipment_date": null,
"shipment_type": "Own Warehouse",
"shipping_charge": 0,
"size": null,
"sku": "PH969MA68AAHINDFAS-4117983",
"slip_number": null,
"store_credits_used": 995,
"supplier_name": null,
"tax": 0,
"tax_percentage": 0,
"unit_price": 995,
"updated_at": "2015-07-07T17:10:20+05:30",
"vat_amount": 0,
"voucher_refunded": 0
}, {
"barcode": null,
"brand_name": "",
"brick_name": "",
"bundle_discount": 0,
"bundle_pack_identifier_key": null,
"carrier": null,
"color_name": "",
"corporate_currency_value": 0,
"coupon_money": 0,
"coupon_percent": null,
"created_at": "2015-07-07T17:10:20+05:30",
"custom_settings": null,
"customization_cost": null,
"delivery_time": "3-4",
"discount_amount": 0,
"discount_cap": 0,
"dispatch_location": "Warehouse",
"dispatch_time": 1,
"expected_dispatch_date": "2015-07-08T00:00:00+05:30",
"expected_shipping_partner": "JAVAS",
"extected_delivery_date": "2015-07-11T00:00:00+05:30",
"gift_credits_used": 0,
"id": 52041894,
"id_sku_bundle": null,
"is_cancelable": 1,
"is_cancelled": 0, -------------- New Addition
"docket": 121, -------------- New Addition
"message": "",
"is_cod": 1,
"is_customized": 0,
"is_fragile": 0,
"is_gift_wrapped": 0,
"is_multiple_shipments": 0,
"is_returnable": 2,
"is_surface": 0,
"is_vat_charged": 0,
"item_status": "exportable",
"last_status_change": "2015-07-07T17:10:20+05:30",
"margin": null,
"mode_of_discount_amount": 0,
"mode_of_payment_amount": 0,
"money_refunded": 0,
"name": "Blue Slim Fit Jeans",
"order_type": null,
"original_unit_price": 995,
"pack_quantity": 1,
"paid_price": 0,
"payback_credits_value": 0,
"payback_earn_value": 0,
"preorder_campaign_name": "",
"preorder_item_dispatch_date": null,
"processing_time": "1",
"refund_method": null,
"return_info": null,
"reward_points": 39.8,
"shipment_date": null,
"shipment_type": "Own Warehouse",
"shipping_charge": 0,
"size": null,
"sku": "PH969MA68AAHINDFAS-4117983",
"slip_number": null,
"store_credits_used": 995,
"supplier_name": null,
"tax": 0,
"tax_percentage": 0,
"unit_price": 995,
"updated_at": "2015-07-07T17:10:20+05:30",
"vat_amount": 0,
"voucher_refunded": 0
}],
"method_earned": "jrewards",
"mobile_verification": "green_channel",
"num": "150707420208836",
"order_corporate_currency_value": 0,
"payment_gateway": null,
"payment_method": "COD",
"payment_method_type": null,
"reward_points": 0,
"shipping_address": {
"address1": "rwerwe",
"address2": "Adarsh Nagar",
"address_type": "Home",
"alternate_phone": "lBl40ngGFqv5836Rg2E+4E7YPmPx0gk/eOc9ppfSw1A=",
"city": "Gurgaon",
"first_name": "dffdf",
"id": 70710434,
"last_name": "ddfgdfgd",
"middle_name": null,
"phone": "Af2R0myuElI6LC90A24R1l6h1Oho07zxXValmDHPf4c=",
"postcode": "122001",
"region": "HR"
},
"shipping_amount": 0,
"shipping_discount": null,
"shipping_method": null,
"sp_agent_info": null,
"tax": 0,
"total_credits_used": {
"gift_credits": 0,
"payback_credits": 0,
"store_credits": 2994
},
"updated_at": "2015-07-07T17:10:20+05:30",
"user_device_type": "desktop",
"wallet_name": null
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment