---
title: "Update Product"
method: PUT
path: "/orders/{id}/line_items/{line_item_id}"
tags: ["Products"]
---

# Update Product

`PUT /orders/{id}/line_items/{line_item_id}`

Updates an existing product (line item) for an existing order. Use this endpoint to modify the details of a specific line item in the order.

## Path parameters

- `id` string, required
- `line_item_id` string, required

## Headers

- `Accept-Language` 'es' | 'en'
- `X-Child-Company-Id` string

## Request body

- UpdateProduct
  - `name` string
  - `unit_price` integer
  - `quantity` integer
  - `sku` string
  - `brand` string
  - `description` string
  - `tags` string[]
  - `metadata` object

## Response `200`

successful operation

## Other responses

- `401` — authentication error
- `404` — not found entity
- `422` — parameter validation error
- `500` — internal server error

---

[API](https://skmtc.dev/digitalfemsa/apis/femsa-api.md) · [All operations](https://skmtc.dev/digitalfemsa/apis/femsa-api/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/digitalfemsa/femsa-api/revisions/2e43caddf36b/schema)
