Skip to end of banner
Go to start of banner

Update Inward Order API (New API)(Beta)

Skip to end of metadata
Go to start of metadata

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 8 Next »

Inbound | PUT | /orders/inwards/{orderCode}

Summary

This API can be used by an ERP to update an inward order created in Increff.

To know more details, Please refer to PO Amendment Support in Increff Omni

Description

  1. This API can be used by an ERP to update Order line items for a certain Inward order

  2. The new Inward Order Line Items replace the existing Inward Order Line Items after some validations. 

  3. Update for any Inward Order is allowed till the Inward Order is moved to LOCKED State.

  4. To move an Inward Order to Locked state, ERP can use https://increff.atlassian.net/wiki/spaces/IOSA/pages/504791492/Lock+Inward+Order+API+New+API+Beta#Inbound-%7CPUT%7C%2Forders%2Finward%2F%7BorderCode%7D%2F%7BlocationCode%7D

  5. Once an order is LOCKED , it can not be updated.

Request

Path Parameter

Parameter Name

Data Type

Description

Mandatory

orderCode

String

Code to uniquely identify of the order in consideration

yes

Request Body

{
  "locationCode": "locationCode1",
  "orderItems": [
    {
      "orderItemCode": 123354353,
      "channelSkuCode": "tshirt134",
      "orderedQuantity": 500,
      "costPrice": 230
    },
    {
      "orderItemCode": 32423544,
      "channelSkuCode": "jeans123",
      "orderedQuantity": 500,
      "costPrice": 230
    }
  ],
"taxBreakUpForms": null
}

Parameter Name

Data Type

Description

Mandatory

locationCode

String

Location code of the warehouse where this order is created

Yes

orderItems

List<UpdateInwardOrderClientLineItemForm>

List of all the line items in the order that is to be updated

Yes

orderItems.orderItemCode

String

code to identify a line item

Yes

orderItems.channelSkuCode

String

code to uniquely identify the product

Yes

orderItems.orderedQuantity

Integer

revised quantity of the line item in consideration

Yes(min 1)

orderItems.sellingPricePerUnit

Double

revised cost price of the line item in consideration

Yes

taxBreakupForms

List<TaxBreakupClientForm>

List of tax break ups.

No

taxBreakupForms.channelSkuId

String

Code to uniquely identify an SKU.

Yes

taxBreakupForms.baseSellingPricePerUnit

Double

Base selling price of an SKU.

Yes

taxBreakupForms.taxItemForms

List<SubTaxItemClientForm>

List of forms containing tax details charged on a particular SKU.

No

taxBreakupForms.taxItemForms.type

String

Type of tax being applied.

Yes

taxBreakupForms.taxItemForms.rate

Double

Tax rate.

Yes

taxBreakupForms.taxItemForms.taxPerUnit

Double

Tax on a single SKU

Yes

Response

Response Body

Empty

HttpStatus : 200

 

  • No labels