Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

Outbound | POST  | {Client’s URL}

Summary

This API will call the eWMS with sales order details.

Description

This API will call the eWMS with the details of sales orders.

...

  • ORDER_CREATE

  • ORDER_PARTIAL_CANCEL

  • ORDER_CANCEL

Request

Code Block
{
  "locationCode": "IN132",
  "messageId": 12345,
  "orderCode": "flipkart1234",
  "parentOrderCode": "flipkart1221",
  "orderTime": "2020-10-16T20:22:28.000+00:00",
  "startProcessingTime": "2020-10-16T20:22:28.000+00:00",
  "requiredBy": "2020-10-16T20:22:28.000+00:00",
  "paymentMethod": "COD",
  "isPriority": false,
  "channelName": "flipkart",
  "eventType": "ORDER_CREATE/ORDER_PARTIAL_CANCEL/ORDER_CANCEL",
  "onHold": true/false,
  "orderItems": [
    {
      "clientSkuId": "1000889888"
      "channelSkuCode": "1000889888",
      "orderedQuantity": 2,
      "cancelledQuantity": 1,
      "channelDiscount": 50,
      "sellingPricePerUnit": 500,
      "giftChargePerUnit": 10,
      "sellerDiscount": 5,
      "shippingCharge": 0
    }
  ],
  "shippingAddress": {
    "name": "Customer'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"
  }
}

...