Versions Compared

Key

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

...

This API will create outward orders in 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 2500.

Note: Please note that the Custom Order or Order Item attribute key must be added in the OMS UI using screen Custom order/ line Item Attribute, else it can result into failre of order creation in Increff OMS system.

In cases where the Custom order attribute key is not defined and custom order or order item attributes are part of the Inward/Outward order creation payloads then the order would move to FAILED status in CIMS.

Request

Code Block
breakoutModewide
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"
      },
      "orderItemCustomAttributes": {
        "attribute1": "Value1",
        "attribute2": "Value2",
        "attribute3": "Value3",
        "attribute4": "Value4",
        "attribute5": "Value5",
        "attribute6": "Value6",
        "attribute7": "Value7",
        "attribute8": "Value8",
        "attribute9": "Value9",
        "attribute10": "Value10",
        "channelMetadata": {
          "totalCashOnDeliveryFee": 0,
          "department": "HR",
          "paymentMethod": "ccavenue",
          "status": "processing"
        }
      }
    },
    {
      "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"
      },
      "orderItemCustomAttributes": {
        "attribute1": "Value12",
        "attribute2": "Value22",
        "attribute3": "Value32",
        "attribute4": "Value42",
        "attribute5": "Value52",
        "attribute6": "Value62",
        "attribute7": "Value72",
        "attribute8": "Value82",
        "attribute9": "Value92",
        "attribute10": "Value102",
        "channelMetadata": {
          "totalCashOnDeliveryFee": 0,
          "department": "HR",
          "paymentMethod": "ccavenue",
          "status": "processing"
        }
      }
    }
  ],
  "orderCustomAttributes": {
    "attribute1": "Value1",
    "attribute2": "Value2",
    "attribute3": "Value3",
    "attribute4": "Value4",
    "attribute5": "Value5",
    "attribute6": "Value6",
    "attribute7": "Value7",
    "attribute8": "Value8",
    "attribute9": "Value9",
    "attribute10": "Value10",
    "channelMetadata": {
      "totalCashOnDeliveryFee": 0,
      "department": "HR",
      "paymentMethod": "ccavenue",
      "status": "processing"
    },
    "currency": "INR"
  }
}

...