Versions Compared

Key

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

Inbound | POST  | /orders/outward

...

This API will create outward orders in Incref Increff Omni. 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 1000.

Request

Code Block
languagejson
{
  "parentOrderCode": "132",
  "locationCode": "Wid234",
  "orderCode": "H19304030003",
  "orderTime": "2020-10-16T20:22:28.000+05:30",
  "orderType": "SO/STO/RTV/RPO",
  "isPriority": false,
  "gift": false,
  "onHold": false,
  "qcStatus": "PASS",
  "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": "CGST",
          "rate": 1.2,
          "taxPerUnit": 27.5
        }
      ]
    }
  ],
  "packType": "PIECE",
  "shippingAddress": {
    "name": "customerName",
    "line1": "address line 1",
    "line2": "address line 2",
    "line3": "address line 3",
    "city": "Bengaluru",
    "state": "Karnataka",
    "zip": "560076",
    "country": "INDIA",
    "email": "email.com",
    "phone": "9999999999"
  },
  "billingAddress": {
    "name": "customerName",
    "line1": "address line 1",
    "line2": "address line 2",
    "line3": "address line 3",
    "city": "Bengaluru",
    "state": "Karnataka",
    "zip": "560076",
    "country": "INDIA",
    "email": "email.com",
    "phone": "9999999999"
  },
  "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": 50,
      "minExpiry": "2021-08-11",
      "giftOptions": {
        "giftwrapRequired": false,
        "giftMessage": "",
        "giftChargePerUnit": 0,
        "giftDocument": "abc",
        "giftDocumentFormat": "PDF"
      }
    }
  ]
}

...

Response

Empty Body

HttpStatusCode

200