Inbound | PUT | /orders/inwards/{orderCode}
Summary
This API can be used by an ERP to update a certain inward order created in CIMS.
Description
This API can be used by an ERP to update a certain inward order created in CIMS.
The new Inward Order Line Items replace the existing Inward Order Line Items after validations.
Request
Path Parameter
Parameter Name | Data Type | Description | Mandatory |
| String | Code to uniquely identify of the order in consideration | yes |
Request Body
{ "locationCode": "locationCode1", "orderItems": [ { "orderItemCode": null, "channelSkuCode": "tshirt134", "orderedQuantity": 500, "costPrice": 230 }, { "orderItemCode": null, "channelSkuCode": "jeans123", "orderedQuantity": 500, "costPrice": 230 } ], "taxBreakUpForms": null }
UpdateInwardOrderClientForm
Parameter Name | Data Type | Description | Mandatory |
| String | Location code of the warehouse where this order is created | yes |
| List<UpdateInwardOrderClientLineItemForm> | List of all the line items in the order that is to be updated | yes |
| String | code to identify a line item | Yes |
| String | code to uniquely identify the product | yes |
| Integer | revised quantity of the line item in consideration | Yes(min 1) |
| Double | revised cost price of the line item in consideration | Yes |
| List<TaxBreakupClientForm> | List of tax break ups. | No |
| String | Code to uniquely identify an SKU. | Yes |
| Double | Base selling price of an SKU. | Yes |
| List<SubTaxItemClientForm> | List of forms containing tax details charged on a particular SKU. | No |
| String | Type of tax being applied. | Yes |
| Double | Tax rate. | Yes |
| Double | Tax on a single SKU | Yes |
Response
Response Body
Emtpy
HttpStatus : 200