Versions Compared

Key

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

...

This API will call the POS system with the details of sales orders which are completed in Increff system. This will be triggered at a certain frequency from Increff system to the POS system.

Postings can be sent on below triggers

  • OUTWARD_ORDER_CREATE

  • OUTWARD_ORDER_CANCEL

  • OUTWARD_ORDER_COMPLETE

  • OUTWARD_ORDER_PARTIAL_CANCEL

Request

Code Block
languagejson
{
  "billingAddress": {
    "city": "Bangalore",
    "country": "IN",
    "email": "ad******@gmail.com",
    "line1": "Shanti Nagar Kent",
    "line2": "South vihar colony",
    "line3": "string",
    "name": "Abhinav Singh",
    "phone": "98******78",
    "state": "KARNATAKA",
    "zip": "560102"
  },
  "channelName": "NYKAA",
  "channelType": "ERP",
  "createdAt": "23-08-2023T12:07:18",
  "credentials": {},
  "eventTime": "23-08-2023T12:09:18",
  "eventType": "OUTWARD_ORDER_CANCEL",
  "isPriority": true,
  "locationCode": "1120004561",
  "messageId": 786651,
  "omsSubOrderId": 128876,
  "orderCode": "NYK-128839-1992",
  "orderTime": "23-08-2023T12:06:18",
  "orderType": "SALES",
  "parentOrderCode": "NYK-128839-1992",
  "paymentMethod": "COD",
  "shippingAddress": {
    "city": "Bangalore",
    "country": "IN",
    "email": "ad******@gmail.com",
    "line1": "Shanti Nagar Kent",
    "line2": "South vihar colony",
    "line3": "string",
    "name": "Abhinav Singh",
    "phone": "98******78",
    "state": "KARNATAKA",
    "zip": "560102"
  },
  "shippingCharges": 0,
  "subOrderItems": [
    {
      "barcode": "BAR00091",
      "cancelledQuantity": 0,
      "channelDiscount": 23.0,
      "channelSkuCode": "BAR00091",
      "fulfilledQuantity": 1,
      "giftChargePerUnit": 0,
      "hoppedQuantity": 0,
      "omsSubOrderItemId": 16624,
      "orderItemCodes": [
        "ITEM001"
      ],
      "orderedQuantity": 1,
      "sellerDiscount": 0,
      "sellingPricePerUnit": 1200,
      "shippingCharge": 0,
      "externalItemCodes": [
        "BAR00091"
      ]
      
    }
  ],
  "turnAroundTime": "23-10-2023T12:09:08",
  "virtualSkuDefinitions": [
    {
      "childSkus": [
        {
          "barcode": "BAR00091",
          "channelSkuCode": "BAR00091",
          "qty": 1
        }
      ],
      "virtualParentBarcode": "BAR00091",
      "virtualParentChannelSkuId": "BAR00091"
    }
  ]
}

...