Versions Compared

Key

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

Inbound | POST  | /orders/inward

...

Code Block
languagejson
{
   "parentOrderCode":"132",
   "orderTime":"2020-10-16T20:22:28.000+05:30",
   "orderType":"PO/STO/RO/OPEN_PO/OPEN_RO",
   "orderCode":"sap123",
   "locationCode":"locationCode",
   "partnerCode":"partnerCode",
   "partnerLocationCode":"partnerLocationCode",
   “taxBreakupForms”"taxBreakupForms":[
      {
         “channelSkuId”:”sky1”"channelSkuId":"sky1",
         “baseSellingPricePerUnit”"baseSellingPricePerUnit":100.8,
         “taxItemForms”"taxItemForms":[
            {
                “type”:””"type":"",
                 “rate”"rate":1.2,
                 “taxPerUnit”"taxPerUnit":27.5
            }
         ]
      }
    ],
   "orderItems":[
      {
         "channelSkuCode":"tshirt134",
         "quantity":500,
         "sellingPricePerUnit":230.00
      },
      {
         "channelSkuCode":"jeans123",
         "quantity":500,
         "sellingPricePerUnit":230
      }
   ]
}

...

Empty Body

HttpStatus Code

200

Steps to create Inward Order

...

  1. Create Vendor Master using Create Vendor Master API

  2. Create location of the vendor using Add Vendor Location Master API

  3. Create article master using Create Article Master API

Now you can try creating inward order using the above API