Versions Compared

Key

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

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

...

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",
  "taxBreakupForms": “taxBreakupForms”:[
      {
         “channelSkuId”:”sky1”"channelSkuId": "sky1",
         “baseSellingPricePerUnit”:"baseSellingPricePerUnit": 100.8,
         “taxItemForms”:[
   "taxItemForms": [
        {
                “type”:””"type": "VAT",
                 “rate”:"rate": 1.2,
                 “taxPerUnit”:"taxPerUnit": 27.5
            }
         ]
      }
    ],
   “packType”:”PIECE/BULK”"packType": "PIECE",
   "qcStatus": "PASS/FAIL",
   "partnerCode": "partnerCode",

  "partnerLocationCode": "partnerLocationCode",
   "orderItems": [
      {
         "channelSkuCode": "100005643",
  
      "orderItemCode": "item123",
         "quantity": 2,
 
       "sellerDiscountPerUnit": 75.0,
  
      "channelDiscountPerUnit": 150.0,
         "sellingPricePerUnit": 1500.0,
         "shippingChargePerUnit": 50.0,
      "minExpiry": "2021-08-11",
         "giftOptions": {
            "giftwrapRequired": false,
            "giftMessage": "",
 
          "giftChargePerUnit": 0,
		        "giftDocument": "abc",
            "giftDocumentFormat": "PDF"
         }
 
    },
      {
         "channelSkuCode": "100005644",
  
      "orderItemCode": "item124",
  
      "quantity": 2,
         "sellerDiscountPerUnit": 50.0,
         "channelDiscountPerUnit": 100.0,
 
       "sellingPricePerUnit": 1000.0,

        "shippingChargePerUnit": 40.0,
      "minExpiry": "2021-08-11",
         "giftOptions": {
            "giftwrapRequired": false,

           "giftMessage": "",
            "giftChargePerUnit": 0,
		        "giftDocument": "abc",
   
        "giftDocumentFormat": "PDF"
         }
      }

  ]
}

Parameter Name

Data Type

Description

Mandatory

parentOrderCode

String

Represents code of parent order of the order

no

locationCode

String

Location code of warehouse from where this order will get fulfilled

yes

orderCode

String

Unique code used by channel to identify the order

yes

orderTime

String

Time at which order got placed by customer

yes

orderType

String

Possible value - SO (Sales Order), STO (Stock Transfer Order), RTV (Return To Vendor)

yes

onHold

Boolean

This flag is true in case order has to be kept on hold. Processing starts only after call is made to unhold the order

yes

dispatchByTime

String

Time by which the order is expected to get dispatched

yes

startProcessingTime

String

Time by which the order processing is expected to get started

yes

paymentMethod

String

Possible values - COD, NCOD

yes

taxBreakupForms

Object[ ]

Tax break up for the items(if this is sent, al the fields of the object should be sent)

no

taxBreakupForms.channelSkuId

String

Channel Sku id

yes

taxBreakupForms.baseSellingPricePerUnit

Double

Base selling price per unit of the Sku

yes

taxBreakupForms.taxItemForms

Object[ ]

Distribution of tax with tax type

yes

taxItemForms.type

String

Type of tax applicable

yes

taxItemForms.rate

Double

Tax rate for this tax type

yes

taxItemForms.taxPerUnit

Double

Tax applicable for this type of tax per unit

yes

packType

String

Possible values - PIECE/BULK

no

orderItems.sellerDiscountPerUnit

Double

Discount given by seller on SKU per unit

no

orderItems.channelDiscountPerUnit

Double

Discount given by channel on SKU per unit

no

orderItems.sellingPricePerUnit

Double

Unit price of SKU including tax

yes

orderItems.shippingChargePerUnit

Double

Shipping charge on item per unit

no

orderItems.minExpiry

String

Minimum expiry date for the item to be shipped

no

orderItems.giftOptions

Object

Contains gift details of the item

no

giftOptions.giftwrapRequired

Boolean

To specify if gift wrap is required

yes

giftOptions.giftMessage

String

Gift message 

no

giftOptions.giftChargePerUnit

Double

Gift charge on item per unit

no

giftOptions.giftDocument

String

Base64 encoded string

no

giftOptions.giftDocumentFormat

String

Possible values PDF, ZPL,PNG. To be populated if document is present

no

...

Empty Body

HttpStatus Code

200