...
Code Block | ||
---|---|---|
| ||
{ "partnerCode": "AZ123", "locationCode": "ABCDEF", "partnerLocationCode": "AZ1234", "channelName": "AMAZON", "returnOrderCode": "H893RUOT123", "forwardOrderCode": "Dx784si", "returnCreationTime": "2020-10-16T20:22:28.000+00:00", "messageId": 12345, "paymentMethod": "COD", "returnOrderType": "RETURN_TO_ORIGIN", "eventTime": "2020-10-16T20:22:28.000+00:00", "consignmentNumber": "con1", "awbNumber": "awb1", "items": [ { "itemCode": "ic123", "returnReason": "size misfit", "channelSkuCode": "100007542", "returnOrderItemStatus": "CREATED", "qcStatus": "FAIL", "qcReason": "DAMAGED", "imageUrls": [ "https://mydomain.com/img.jpg", "https://mydomain.com/img2.jpg" ], "sellingPricePerUnit": 20.0, "isExcess": true, "virtualSkuChildItemReturnPostings": [ { "omsReturnItemId": "oms_124A43", "returnOrderItemStatus": "CREATED", "channelSkuCode": "1234", "qcStatus": "FAIL", "qcReason": "DAMAGED", "barcode": "bar1" } ] } ], "shipments": [ { "shipmentCode": "UIfd897", "locationCode": "loc1", "generatedInvoiceId": "AR105044395", "generatedInvoiceDate": "2020-10-16T20:22:28.000+00:00", "externalInvoiceId": "FK56556GH45", "externalInvoiceDate": "2020-10-16T20:22:28.000+00:00", "invoiceDocumentUrl": "https://mybrand.com/invoice123.pdf", "irn": "a429746e34d844c9d2cb2a6f68997d1c2af23987cc834f3b55da45d1b0bc27c0", "qrCode": "eyJhbGciOiJSUzI1NiIs" //base 64 encoded, "shippingLabelDocumentUrl": "https://mybrand.com/sldoc.pdf", "shipmentStatus": "MANIFESTED", "shipmentItems": [ { "channelSkuCode": "100000789702", "orderItemCode": "item123", "channelDiscount": 122.45, "netTaxAmountPerUnit": 60, "netTaxAmountTotal": 120, "baseSellingPricePerUnit": 500, "baseSellingPriceTotal": 1000, "sellingPricePerUnit": 560, "sellingPriceTotal": 1120, "quantity": 2, "taxItems": [ { "type": "SGST", "rate": 6, "taxPerUnit": 30, "taxTotal": 60 }, { "type": "CGST", "rate": 6, "taxPerUnit": 30, "taxTotal": 60 } ] }, { "channelSkuCode": "100000734701", "orderItemCode": "item124", "netTaxAmountPerUnit": 60, "netTaxAmountTotal": 120, "baseSellingPricePerUnit": 500, "baseSellingPriceTotal": 1000, "sellingPricePerUnit": 560, "sellingPriceTotal": 1120, "quantity": 2, "shippingChargePerUnit": 10.0, "taxItems": [ { "type": "SGST", "rate": 6, "taxPerUnit": 30, "taxTotal": 60 }, { "type": "CGST", "rate": 6, "taxPerUnit": 30, "taxTotal": 60 } ] } ] } ], "virtualSkuDefinitions": [ { "virtualParentChannelSkuId": "ch_sku", "virtualParentBarcode": "bar", "childSkus": [ { "channelSkuCode": "ch_sku", "qty": 47, "barcode": "shoe14h124" } ] } ], "shippingAddress": { "name": "Sender's Name", "line1": "Line Address 1", "line2": "Line Address 2", "line3": "Line Address 3", "city": "city", "state": "state", "zip": "zip", "country": "country", "email": "abc@gmail.com", "phone": "9999999999" }, "billingAddress": { "name": "customer", "line1": "address line 1", "line2": "address line 2", "line3": "address line 3", "city": "Bengaluru", "state": "Karnataka", "zip": "560076", "country": "INDIA", "email": "abc@gmail.com", "phone": "9999999999" } } |
...