Versions Compared

Key

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

Inbound | POST  | /orders/outward/partner-code

...

This API will create outward orders in Increff Omni using the partner codes provided in the payload. One payload will create only one order and one SKU can be present only once. The number of order items in an order should not be more than 10002500.

Request

Code Block
languagejson
{
  "parentOrderCode": "132",
  "locationCode": "Wid234",
  "orderCode": "H19304030003",
  "orderTime": "2020-10-16T20:22:28.000+05:30",
  "orderType": "SO/STO/RTV",
  "onHold": false,
  "dispatchByTime": "2020-10-16T20:22:28.000+05:30",
  "startProcessingTime": "2020-10-16T20:22:28.000+05:30",
  "paymentMethod": "COD",
  "isSplitRequired":false,
  "taxBreakupForms": [
    {
      "channelSkuId": "sky1",
      "baseSellingPricePerUnit": 100.8,
      "taxItemForms": [
        {
          "type": "VAT",
          "rate": 1.2,
          "taxPerUnit": 27.5
        }
      ]
    }
  ],
  "packType": "PIECE",
  "qcStatus": "PASS",
  "partnerCode": "partnerCode",
  "partnerLocationCode": "partnerLocationCode",
  "orderItems": [
    {
      "channelSkuCode": "100005643",
      "orderItemCode": "item123",
      "quantity": 2,
      "sellerDiscountPerUnit": 75,
      "channelDiscountPerUnit": 150,
      "sellingPricePerUnit": 1500,
      "shippingChargePerUnit": 50,
      "minExpiry": "2021-08-11",
      "giftOptions": {
        "giftwrapRequired": false,
        "giftMessage": "",
        "giftChargePerUnit": 0,
        "giftDocument": "abc",
        "giftDocumentFormat": "PDF"
      }
    },
    {
      "channelSkuCode": "100005644",
      "orderItemCode": "item124",
      "quantity": 2,
      "sellerDiscountPerUnit": 50,
      "channelDiscountPerUnit": 100,
      "sellingPricePerUnit": 1000,
      "shippingChargePerUnit": 40,
      "minExpiry": "2021-08-11",
      "giftOptions": {
        "giftwrapRequired": false,
        "giftMessage": "",
        "giftChargePerUnit": 0,
        "giftDocument": "abc",
        "giftDocumentFormat": "PDF"
      }
    }
  ]
}

...

Empty Body

HttpStatus Code

200