v1

latestOpenAPI 3.0.3MIT-LICENSE2026-07-2469127278.1 KB
Products

Update Product

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.

put/orders/{id}/line_items/{line_item_id}

Path parameters

idstring required

Identifier of the resource

line_item_idstring required

identifier

Headers

Accept-Language'es' | 'en'

Use for knowing which language to use

X-Child-Company-Idstring

In the case of a holding company, the company id of the child company to which will process the request.

Request body

namestring
unit_priceinteger
quantityinteger
skustring
brandstring
descriptionstring
tagsstring[]
metadataobject

Example request

{
  "name": "Box of Cohiba S1s",
  "unit_price": 20000,
  "quantity": 1
}

Response

successful operation