Versions Compared

Key

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

...

This API will call the pos with the details of sales orders which are completed in AssureOmni. This will be triggered at a certain frequency from Assure Omni to the channels.

Request

Code Block
languagejson
{

   "locationCode":"IN132",

   "messageId":12345,

   "orderCode":"flipkart1234",

   "parentOrderCode":"flipkart1221",

   "orderTime":"2020-10-16T20:22:28.000+00:00",

   "orderType":"SO/STO/RTV",    

   "paymentMethod":"COD",   

   "isPriority":false,

   "channelName":"flipkart",

   "channelType":"ERP/MARKETPLACE", 

   "eventType": "OUTWARD_ORDER_COMPLETE",

   "eventTime":"2020-10-16T20:22:28.000+00:00",

   “shippingCharges”:20.0,

   “virtualSkuDefinitions”:[

    {

       “virtualParentChannelSkuId”:”abc1”,

  “virtualParentBarcode”:”barcode1”,

       “childSkus”:[

              {

                “channelSkuCode”:”xyz”,

                “qty”:2,

    “barcode”:”bar1”

               },

               {

                “channelSkuCode”:”xyz1”,

                “qty”:1,

“barcode”:”bar2”

  }

            ]

    }     

  ],

   "orderItems":[

     {

"orderItemCode": "item123",

"channelSkuCode": "1000889888",

"orderedQuantity": 2,

"cancelledQuantity":1,                  

"channelDiscount":50.00,

"sellingPricePerUnit":500.00,

"giftChargePerUnit": 10.0,

“sellerDiscount”:5.0,

“shippingCharge”:0.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"

   }

}

...