Outbound | POST | {Client’s URL}

Summary

This API pushes the Sales Order level details to External fulfilment system

Description

This API will call the External Fulfillment System (EFS) and send the details of Sale Orders and Sale Order line items.

This API trigger will be scheduled at a certain frequency by Increff OMS system at the following events:

The above listed events can be enabled or disabled from Increff’s CIMS user interface with help of Increff support team

<aside> 🗒️ Note:

Request Body

{
  "locationCode": "LOC-001",
  "orderCode": "ORD-2024-001",
  "parentOrderCode": "PARENT-ORD-2024-001",
  "partnerCode": "PARTNER-001",
  "partnerLocationCode": "PARTNER-LOC-001",
  "orderType": "REGULAR",
  "packType": "STANDARD",
  "fulfillmentType": "FULLFILLMENT",
  "deliveryType": "STANDARD_DELIVERY",
  "channelName": "USP-Channel",
  "orderTime": "2024-01-15T10:30:00Z",
  "startProcessingTime": "2024-01-15T11:00:00Z",
  "requiredBy": "2024-01-16T18:00:00Z",
  "messageId": 123456789,
  "paymentMethod": "PREPAID",
  "isPriority": true,
  "onHold": false,
  "eventType": "SUBORDER_CREATE",
  "shippingAddress": {
    "name": "John Doe",
    "line1": "123 Main Street",
    "line2": "Apt 4B",
    "line3": "Near Central Park",
    "phone": "+1-555-123-4567",
    "email": "[email protected]",
    "city": "New York",
    "state": "NY",
    "zip": "10001",
    "country": "USA",
    "longitude": null,
    "latitude": null,
    "openLocationCode": null
  },
  "billingAddress": {
    "name": "John Doe",
    "line1": "123 Main Street",
    "line2": "Apt 4B",
    "line3": "Near Central Park",
    "phone": "+1-555-123-4567",
    "email": "[email protected]",
    "city": "New York",
    "state": "NY",
    "zip": "10001",
    "country": "USA",
    "longitude": null,
    "latitude": null,
    "openLocationCode": null
  },
  "packedAt": "2024-01-15T14:30:00Z",
  "orderItems": [
    {
      "clientSkuId": "CLIENT-SKU-001",
      "channelSkuCode": "CHANNEL-SKU-001",
      "orderedQuantity": 5,
      "cancelledQuantity": 0,
      "customerCancelledQty": 0,
      "sellerCancelledQty": 0,
      "sellerRejectQty": 0,
      "channelDiscount": 10,
      "sellingPricePerUnit": 100,
      "giftChargePerUnit": 5,
      "giftMessage": null,
      "giftDocument": null,
      "sellerDiscount": 5,
      "shippingCharge": 25,
      "isBundled": false,
      "isVirtual": false,
      "orderItemCustomAttributes": {
        "color": "Red",
        "size": "Large",
        "material": "Cotton"
      },
      "minExpiry": "2025-12-31T23:59:59Z",
      "fulfillmentItemDetails": [
        {
          "channelSkuCode": "CHANNEL-SKU-001",
          "batchCode": "BATCH-001",
          "quantity": 3,
          "supplierCode": "SUPPLIER-001",
          "manufacturingDate": "2024-01-01T00:00:00Z",
          "expiryDate": "2025-12-31T23:59:59Z",
          "mrp": 299.99,
          "batchId": 657
        }
      ]
    }
  ],
  "virtualSkuDefinitions": [
    {
      "virtualParentChannelSkuId": "VIRTUAL-PARENT-001",
      "childSkus": [
        {
          "channelSkuCode": "CHILD-SKU-001",
          "qty": 2,
          "barcode": "1234567890123",
          "clientSkuCode": "CLIENT-CHILD-001"
        }
      ],
      "virtualParentBarcode": "9876543210987",
      "virtualParentClientSkuCode": "VIRTUAL-CLIENT-001"
    }
  ],
  "orderCustomAttributes": {
    "orderSource": "Mobile App",
    "customerSegment": "Premium",
    "promotionCode": "SAVE20"
  },
  "bundledSkuDefinitions": [
    {
      "childSkus": [
        {
          "channelSkuCode": "BUNDLE-CHILD-001",
          "qty": 1,
          "barcode": "1111111111111",
          "clientSkuCode": "BUNDLE-CLIENT-001"
        }
      ],
      "bundledParentBarcode": "3333333333333",
      "bundledParentClientSkuCode": "BUNDLE-PARENT-CLIENT",
      "bundledParentChannelSkuId": "BUNDLE-PARENT-CHANNEL"
    }
  ],
  "shipments": [
    {
      "channelShipmentCode": "CH-SHIP-001",
      "omsShipmentCode": "OMS-SHIP-001",
      "efsShipmentCode": "EFS-SHIP-001",
      "locationCode": "LOC-001",
      "omsInvoiceId": "OMS-INV-001",
      "omsInvoiceDate": "2024-01-15T12:00:00Z",
      "channelInvoiceId": "CH-INV-001",
      "channelInvoiceDate": "2024-01-15T12:30:00Z",
      "invoiceDocumentUrl": "<https://example.com/invoices/CH-INV-001.pdf>",
      "shippingLabelDocumentUrl": "<https://example.com/labels/shipping-label-001.pdf>",
      "irn": "IRN-123456789",
      "qrCode": "QR-CODE-123456789",
      "shipmentStatus": "SHIPPED",
      "awbNumber": "AWB123456789",
      "transporter": "BlueDart",
      "packageSku": "PKG-SKU-001",
      "deliveredAt": "2024-01-16T15:30:00Z",
      "packedAt": "2024-01-15T14:30:00Z",
      "shipmentItems": [
        {
          "channelSkuCode": "CHANNEL-SKU-001",
          "orderItemCode": "ORDER-ITEM-001",
          "netTaxAmountPerUnit": 18,
          "netTaxAmountTotal": 90,
          "baseSellingPricePerUnit": 100,
          "baseSellingPriceTotal": 500,
          "sellingPricePerUnit": 90,
          "sellingPriceTotal": 450,
          "quantity": 5,
          "shippingChargePerUnit": 5,
          "channelDiscount": 10,
          "taxItems": [
            {
              "type": "GST",
              "rate": 18,
              "taxPerUnit": 16.2,
              "taxTotal": 81
            }
          ],
          "barcode": "1234567890123",
          "clientSkuCode": "CLIENT-SKU-001"
        }
      ],
      "shipmentDetails": {
        "length": 30.5,
        "breadth": 20,
        "height": 15,
        "weight": 2.5,
        "shipmentId": 12345,
        "totalItemQuantity": 5,
        "packboxDetailsList": [
          {
            "length": 30.5,
            "breadth": 20,
            "height": 15,
            "weight": 2.5,
            "boxId": 67890,
            "awbNumber": "AWB123456789",
            "packBoxRemarks": "Handle with care",
            "volWeight": "2.8",
            "boxSkuCode": "BOX-SKU-001",
            "boxCode": "BOX-001",
            "skuQuantityDataList": [
              {
                "channelSkuCode": 1001,
                "clientSkuId": "CLIENT-SKU-001",
                "count": 5
              }
            ]
          }
        ]
      }
    }
  ]
}
Parameter Name Data Type Description Mandatory
locationCode String Identifier of the location from which order is fulfilled Yes
orderCode String Unique code used by the channel to identify order Yes
parentOrderCode String Order identifier to map the parent order with child orders No
partnerCode String Unique partner identifier associated with the order. No
partnerLocationCode String Unique partner location identifier associated with the order. No
orderType Object Type of order being pushed to the fulfillment system. No
packType Object Type of packing workflow applicable for the order. No
fulfillmentType Object Fulfillment mode or type applicable for the order. No
deliveryType Enum Type of delivery.
Possible values:
SAME_DAY_DELIVERY
NEXT_DAY_DELIVERY
STANDARD_DELIVERY
EXPRESS_DELIVERY
HYPERLOCAL_DELIVERY
SCHEDULED_DELIVERY
CLICK_AND_COLLECT No
channelName String Channel name of the marketplace Yes
orderTime String Time at which order was placed at the channel by customer (in UTC) Yes
startProcessingTime String Time after which order processing is allowed in the fulfillment system (in UTC) Yes
requiredBy String SLA time before which order processing is expected to be completed (in UTC) Yes
messageId Long Unique Identifier of a notification (for de-duplication) Yes
paymentMethod Object Payment mode using which the customer placed the order. Possible values → COD/NCOD Yes
isPriority Boolean Flag set to true when the order is high priority as defined by the channel or brand Yes
onHold Boolean Whether the order should be kept on hold for processing. Possible values → true, false Yes
eventType String Order event that triggered the push. Possible values: SUBORDER_CREATE, SUBORDER_PARTIAL_CANCEL, SUBORDER_CANCEL, SUBORDER_PROPERTIES_UPDATE, SUBORDER_COMPLETE Yes
shippingAddress Object Customer shipping address Yes
shippingAddress.name String Customer name No
shippingAddress.line1 String Address line 1 No
shippingAddress.line2 String Address line 2 No
shippingAddress.line3 String Address line 3 No
shippingAddress.phone String Customer phone number No
shippingAddress.email String Customer email address No
shippingAddress.city String City No
shippingAddress.state String State No
shippingAddress.zip String Postal code Yes
shippingAddress.country String Country Yes
shippingAddress.longitude Double GPS longitude coordinate No
shippingAddress.latitude Double GPS latitude coordinate No
shippingAddress.openLocationCode String Google Plus Code for location No
billingAddress Object Customer billing address Yes
billingAddress.name String Customer name No
billingAddress.line1 String Address line 1 No
billingAddress.line2 String Address line 2 No
billingAddress.line3 String Address line 3 No
billingAddress.phone String Customer phone number No
billingAddress.email String Customer email address No
billingAddress.city String City No
billingAddress.state String State No
billingAddress.zip String Postal code Yes
billingAddress.country String Country Yes
billingAddress.longitude Double GPS longitude coordinate No
billingAddress.latitude Double GPS latitude coordinate No
shippingAddress.openLocationCode String Google Plus Code for location No
packedAt ZonedDateTime Timestamp when the order was packed No
orderItems Array List of order items Yes
orderItems.clientSkuId String Scannable barcode on the product Yes
orderItems.channelSkuCode String SKU identifier of the channel No
orderItems.orderedQuantity Integer Ordered quantity Yes
orderItems.cancelledQuantity Integer Absolute cancelled quantity Yes
orderItems.customerCancelledQty Integer Customer cancelled quantity No
orderItems.sellerCancelledQty Integer Seller cancelled quantity No
orderItems.sellerRejectQty Integer Seller rejected quantity No
orderItems.channelDiscount Double Discount provided by channel per unit No
orderItems.sellingPricePerUnit Double Selling price per unit No
orderItems.giftChargePerUnit Double Gift charge per unit No
orderItems.giftMessage String Gift message from customer No
orderItems.giftDocument String Gift document URL/reference No
orderItems.sellerDiscount Double Discount provided by seller per unit No
orderItems.shippingCharge Double Shipping charges on item No
orderItems.isBundled Boolean Whether the item is part of a bundle No
orderItems.isVirtual Boolean Whether the item is a virtual SKU Yes
orderItems.orderItemCustomAttributes Object Custom attributes of order item No
orderItems.minExpiry ZonedDateTime Minimum expiry date required for fulfilling the order item. No
orderItems.fulfillmentItemDetails Array Batch or item-level fulfillment details for the order item. No
orderItems.fulfillmentItemDetails.channelSkuCode String Channel SKU code of the fulfillment item. No
orderItems.fulfillmentItemDetails.batchCode String External batch code for the fulfillment item. No
orderItems.fulfillmentItemDetails.quantity Integer Quantity of the SKU in the fulfillment item detail. No
orderItems.fulfillmentItemDetails.supplierCode String Supplier code associated with the fulfillment item batch. No
orderItems.fulfillmentItemDetails.manufacturingDate ZonedDateTime Manufacturing date of the fulfillment item batch. No
orderItems.fulfillmentItemDetails.expiryDate ZonedDateTime Expiry date of the fulfillment item batch. No
orderItems.fulfillmentItemDetails.mrp Double Maximum retail price of the fulfillment item batch. No

Response Body