# Order items Managing order items. ## Order item add - [POST /api/orders/{code}/item](https://api.docs.shoptet.com/shoptet-api/openapi/order-items/createorderitem.md) ## Order item change - [PATCH /api/orders/{code}/item/{id}](https://api.docs.shoptet.com/shoptet-api/openapi/order-items/updateorderitem.md) ## Order item delete - [DELETE /api/orders/{code}/item/{id}](https://api.docs.shoptet.com/shoptet-api/openapi/order-items/deleteorderitem.md) ## Order item surcharge parameters insertion - [POST /api/orders/{code}/item/{id}/surcharge-parameters](https://api.docs.shoptet.com/shoptet-api/openapi/order-items/createorderitemsurchargeparameters.md): There is possibility to edit surcharge parameters related to order item. For that purpose, there is in get order item detail endpoint attribute specificSurchargeParameters which returned adjusted surcharge parameters data (see order item detail endpoint) This mean that surchargeParameters attribute in order detail is persistent and any adjustment in surcharge parameters appears in specificSurchargeParameters This endpoint purpose is to add surcharge parameter in relation within order item. You have to send one of attributes parameterCode with valueIndex or name. Cant send this attributes together. If you post parameterCode and valueIndex, there will be validation, if surcharge parameter exits and if can be related to order item's product and price (if not send) will be added from surcharge parameter itself. Otherwise you can send attribute name instead, which could have any form, but has to be unique. If price is not send, than it will be set to 0.00. ## Order item surcharge parameters deletion - [DELETE /api/orders/{code}/item/{id}/surcharge-parameters/{relationId}](https://api.docs.shoptet.com/shoptet-api/openapi/order-items/deleteorderitemsurchargeparameters.md): You have to provide dynamically generated relationId which identify which surcharge parameter related to order item you want to delete.