---
title: "Update a specific orderline"
method: PATCH
path: "/ws/orderlines/{orderline_id}"
tags: ["Orderline"]
---

# Update a specific orderline

`PATCH /ws/orderlines/{orderline_id}`

## Path parameters

- `orderline_id` integer, required

## Request body

- object — At least one of `imei` or `serial_number` must be provided. Both can be submitted in a single request.
  - `imei` string — Unique device identifier. Applicable to any product category. Once registered, the value cannot be corrected.
  - `serial_number` string — Unique product serial number. Applicable to any product category. Once registered, the value cannot be corrected.

## Response `200`

Returns the identifiers updated on the orderline

- object
  - `imei` string
  - `serial_number` string

## Other responses

- `400` — Bad request
- `403` — Forbidden
- `404` — The orderline doesn't exist
- `422` — Unprocessable entity

---

[API](https://skmtc.net/backmarket/apis/back-market-api-guidelines.md) · [All operations](https://skmtc.net/backmarket/apis/back-market-api-guidelines/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/backmarket/back-market-api-guidelines/revisions/6a1303364143/schema)
