# 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 which returned adjusted surcharge parameters data (see order item detail endpoint) This mean that attribute in order detail is persistent and any adjustment in surcharge parameters appears in This endpoint purpose is to add surcharge parameter in relation within order item. You have to send one of attributes with or . Cant send this attributes together. If you post and , 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 instead, which could have any form, but has to be unique. If price is not send, than it will be set to . ## 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 which identify which surcharge parameter related to order item you want to delete.