---
title: "Update an existing order position"
method: PUT
path: "/OrderPos/{orderPosId}"
tags: ["OrderPos"]
---

# Update an existing order position

`PUT /OrderPos/{orderPosId}`

Update an order position

## Path parameters

- `orderPosId` integer, required

## Request body

- ModelOrderPosUpdate — Order position model
  - `id` integer — The order position id
  - `objectName` string — The order position object name
  - `create` string, date-time — Date of order position creation
  - `update` string, date-time — Date of last order position update
  - `order` object — The order to which the position belongs.
    - `id` integer, required — Unique identifier of the order
    - `objectName` string, required — Model name, which is 'Order'
  - `part` object — Part from your inventory which is used in the position.
    - `id` integer, required — Unique identifier of the part
    - `objectName` string, required — Model name, which is 'Part'
  - `quantity` number, nullable — Quantity of the article/part
  - `price` number, nullable — Price of the article/part. Is either gross or net, depending on the sevdesk account setting.
  - `priceNet` number, nullable — Net price of the part
  - `priceTax` number, nullable — Tax on the price of the part
  - `priceGross` number, nullable — Gross price of the part
  - `name` string, nullable — Name of the article/part.
  - `unity` object — The unit in which the positions part is measured
    - `id` integer, required — Unique identifier of the unit
    - `objectName` string, required — Model name, which is 'Unity'
  - `sevClient` object — Client to which order position belongs. Will be filled automatically
    - `id` integer, required — Unique identifier of the client
    - `objectName` string, required — Model name, which is 'SevClient'
  - `positionNumber` integer, nullable — Position number of your position. Can be used to order multiple positions.
  - `text` string, nullable — A text describing your position.
  - `discount` number, nullable — An optional discount of the position.
  - `optional` boolean, nullable — Defines if the position is optional.
  - `taxRate` number, nullable — Tax rate of the position.
  - `sumDiscount` number, nullable — Discount sum of the position

## Response `200`

Successful operation - Returns changed order position resource

- ModelOrderPosResponse — Order position model
  - `id` string — The order position id
  - `objectName` string — The order position object name
  - `create` string, date-time — Date of order position creation
  - `update` string, date-time — Date of last order position update
  - `order` object — The order to which the position belongs.
    - `id` string, required — Unique identifier of the order
    - `objectName` string, required — Model name, which is 'Order'
  - `part` object — Part from your inventory which is used in the position.
    - `id` string, required — Unique identifier of the part
    - `objectName` string, required — Model name, which is 'Part'
  - `quantity` string — Quantity of the article/part
  - `price` string, nullable — Price of the article/part. Is either gross or net, depending on the sevdesk account setting.
  - `priceNet` string, nullable — Net price of the part
  - `priceTax` string, nullable — Tax on the price of the part
  - `priceGross` string, nullable — Gross price of the part
  - `name` string, nullable — Name of the article/part.
  - `unity` object — The unit in which the positions part is measured
    - `id` string, required — Unique identifier of the unit
    - `objectName` string, required — Model name, which is 'Unity'
  - `sevClient` object — Client to which order position belongs. Will be filled automatically
    - `id` string, required — Unique identifier of the client
    - `objectName` string, required — Model name, which is 'SevClient'
  - `positionNumber` string, nullable — Position number of your position. Can be used to order multiple positions.
  - `text` string, nullable — A text describing your position.
  - `discount` string, nullable — An optional discount of the position.
  - `optional` boolean, nullable — Defines if the position is optional.
  - `taxRate` string — Tax rate of the position.
  - `sumDiscount` string, nullable — Discount sum of the position

## Other responses

- `400` — Bad request
- `401` — Authentication required
- `500` — Server Error

---

[API](https://skmtc.net/sevdesk/apis/sevdesk-api.md) · [All operations](https://skmtc.net/sevdesk/apis/sevdesk-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/sevdesk/sevdesk-api/revisions/a32cec0fecea/schema)
