/
Create order in WMS

Create order in WMS

  1. Event received from Default service

{ "queueData": { "channelData": { "integrationType": "14", "storeSlug": "{{storeSlug}}", "externalChannelId": "{{CH####}}", "accountSlug": "{{accountSlug}}", "connectionId": "{{connectionId}}", "location": { "Bangalore_FC": "Bangalore_FC", "Mumbai_Velocity_FC": "Mumbai_Velocity_FC" }, "accessToken": "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", "isActive": "active", "snapdeal_workspaceToken": "eyJhbGciOiJSUzI1NiIsInR5cCI6IkpXVCIsImtpZCI6Ik1UaERRamxDUlRJelJVUTRRVU0wUVRJNU1FSkVOVGszUVVFeU5qVXdSa1JDTmpBeU16WTROQSJ9.eyJodHRwczovL2FwcERhdGEiOnsiYXBwQ2xpZW50SWQiOiIxOTlhN2U1MGFkZTlkZjIwZDhmZTAxMWE2NTkzY2ZhOCJ9LCJodHRwczovL2FjY291bnRTbHVnIjoiZmFybWVseSIsImh0dHBzOi8vdXNlckRldGFpbHMiOnsiaWQiOjIyOTcsInVzZXJUeXBlIjoiZGVmYXVsdCIsImVtYWlsIjoiYXBwdXNlcjg5QGVzaG9wYm94LmNvbSJ9LCJodHRwczovL2FjY291bnRzIjpbImZhcm1lbHkiXSwiaHR0cHM6Ly93YXJlaG91c2VXb3Jrc3BhY2VzIjpbXSwiaHR0cHM6Ly93YXJlaG91c2VzIjpbXSwiaHR0cHM6Ly9wYXJ0bmVycyI6W10sImlzcyI6Imh0dHBzOi8vZXNob3Bib3guYXV0aDAuY29tLyIsInN1YiI6ImF1dGgwfDYyMDRjMWFkNjI4ZjhjMDA2ODIxNzA0YyIsImF1ZCI6Imh0dHBzOi8vd21zLm15ZXNob3Bib3guY29tIiwiaWF0IjoxNjQ5MDc5OTMyLCJleHAiOjE2NTE2NzE5MzIsImF6cCI6IlF6Vk83ZkhrMkhZeDJZNWIzV0RvaUR1R2U0dkN3akhQIiwic2NvcGUiOiJyZWFkOnByb2R1Y3RzIHJlYWQ6aW52ZW50b3J5IHJlYWQ6cHJvZHVjdF9saXN0aW5ncyB3cml0ZTpwcm9kdWN0X2xpc3RpbmdzIHJlYWQ6b3JkZXJzIHdyaXRlOm9yZGVycyByZWFkOnJldHVybnMgd3JpdGU6cmV0dXJucyByZWFkOnBheWFibGVzIHdyaXRlOnBheW91dHMgd3JpdGU6dHJhbnNhY3Rpb25fcnVsZXMgcmVhZDpjdXN0b21fZmllbGRzIHdyaXRlOmN1c3RvbV9maWVsZHMgcmVhZDpsb2NhdGlvbnMgd3JpdGU6bG9jYXRpb25zIHJlYWQ6cG9ydGFsIHdyaXRlOnBvcnRhbCByZWFkOndvcmtzcGFjZSByZWFkOnNhbGVzX2NoYW5uZWwgcmVhZDpmdWxmaWxsbWVudF9jZW50ZXIiLCJndHkiOiJwYXNzd29yZCJ9.Bfipuc-JLDcTA2xnXBtYMiTbcnQrTgyZRAIOzbxLiiU3UiBo3UgMiiwQgPyUwqUese1E9DkRtdgLIvAQKI7Po36hbypZWMx0g2HOnOrNHDInBk5vlxg5FCCwP2vCFQXA4bwT3MfHipJQbBvKWPbI6461Civ_2SmBUXb5ahoRnIVJl96i1OWgINiz8Tf0taiesxeyYdU4ywKeuygpWWQfjs2kQRTRxaffo_8h-ZhGrnKdPs2bIskH7YtBhos38h4BaUST3TI14sjd3eplBEIYDRXjwLr6bNbXKWR94ltC5NexST8LuaZALQYREEPpTq8are3QlLBwC-NweJM8BZ1_Ng", "refreshToken": "" }, "orderDetail": { "packageReferenceCode": "SLP556018", "fulfillmentModelCode": "DROPSHIP_MODEL", "awbNo": "SLP311284", "courierCode": "FEDEX", "manifestByDate": 1451209090000, "shippedDate": 1467357580000, "manifestCode": "", "slaBreach": "breached", "items": [ { "suborderCode": "57767687", "orderDate": 1450949891000, "productName": "NOKIA", "serializable": "IMEI", "serializedUniqueId": "153451234512345", "attributes": "", "imageUrl": "http://.sdlcd2.com/imgs/a/a/d/SDL062513996_1380529128_image1-90aa2.jpg", "freebies": "", "incentive": false, "price": 8000, "siStatusCode": "PRNT", "updated": 1454497651000, "paymentMode": "STD", "supc": "SDL062513333", "fulfillmentModelCode": "DROPSHIP_MODEL", "skuCode": "YAS-3c-prod-3-staging", "siReferenceCode": "SI622093", "customerDetail": { "pincode": "560021", "city": "Bangalore", "area": "Delhi", "subArea": "Okhla Phase 3\n#246, 1st Floor", "state": "Karnataka", "mobile": "944444477", "email": "alok12345.sinha@jasperindia.com" }, "orderCode": "37690465", "deliveryMode": "STANDARD", "packageReferenceCode": "SLP891519", "cancellationReason": "NONE" } ], "stateFormRequired": false, "updated": 1453889682000, "created": 1453889682000, "invoiceNumber": "", "courierName": "FEDEX", "centreCode": "DC-OC", "packagingTypeDTO": { "packagingMode": "Normal", "packagingType": "POLYBAG", "packagingDetail": { "code": "PL_E", "description": "Packer can pack with any packaging material. Although recommended material is [POLYBAG]" }, "additionPackagingDetails": [ { "code": "UB01", "description": "Use polybag" } ], "itemLevelPackagingDetails": [ { "supc": "SDL978655570", "code": "UB01", "description": "Use polybag" } ] } } } }

 

2. Mapping:

WMS Create Order Keys

Order Sheet Keys

externalChannelID

queueData.channelData.externalChannelId

customerOrderNumber

orderDetail.packageReferenceCode

expectedShipDate

orderDetail.shippedDate (In miliseconds convert it to date)

vendorOrderNumber

orderDetail.items[].orderCode

externalShipmentID

 not required

orderDate

orderDetail.items[].orderDate

isCOD

 

paymentType

orderDetail.items[].paymentMode

balanceDue

 

thirdPartyShipping

 true

shippingAddress.customerName

orderDetail.items[].customerDetail

taxAmount

 

shippingAddress.addressLine1

orderDetail.items[].customerDetail.subArea

shippingAddress.addressLine2

 orderDetail.items[].customerDetail.area

shippingAddress.city

orderDetail.items[].customerDetail.city

shippingAddress.postalCode

orderDetail.items[].customerDetail.pincode

shippingAddress.countryCode

IN

shippingAddress.countryName

India

shippingAddress.contactPhone

orderDetail.items[].customerDetail.mobile

shippingAddress.email

 orderDetail.items[].customerDetail.email

shippingAddress.state

orderDetail.items[].customerDetail.state

billingAddress.customerName

same as of shippingAddress

billingAddress.addressLine1

same as of shippingAddress

billingAddress.addressLine2

same as of shippingAddress

billingAddress.city

same as of shippingAddress

billingAddress.postalCode

same as of shippingAddress

billingAddress.countryCode

same as of shippingAddress

billingAddress.countryName

same as of shippingAddress

billingAddress.contactPhone

same as of shippingAddress

billingAddress.email

same as of shippingAddress

billingAddress.state

same as of shippingAddress

items[].lineItemSequenceNumber

orderDetail.items[].suborderCode

items[].quantity

1

items[].itemID

 orderDetail.items[].skuCode

items[].productName

orderDetail.items[].productName

items[].customerPrice

orderDetail.items[].price

items[].giftWrapCharges

 

items[].discount

 

items[].lineItemTotal

orderDetail.items[].price

items[].taxRate

 

items[].taxAmount

 

items[].giftMessage

 

items[].giftLabelContent

 

 

items[].isGift

 

items[].invoiceNumber

orderDetail.invoiceNumber

items[].isPriorityShipment

 

shipChargeAmount

 

subTotal

 

orderTotal

 

Related content