v1

latestOpenAPI 3.1.0MIT-LICENSE2026-07-24113190543.3 KB
Products

Update Product

Update an existing product for an existing orden

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

Path parameters

idstring required
Example:6307a60c41de27127515a575

Identifier of the resource

line_item_idstring required
Example:line_item_2tQ8HkkfbauaKP9Ho

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

{"stackTrail":"components:schemas:update_product:properties:antifraud_info","oasType":"schema","type":"unknown"}
descriptionstring
skustring
namestring
unit_priceinteger
quantityinteger
tagsstring[]
brandstring
{"stackTrail":"components:schemas:update_product:properties:metadata","oasType":"schema","type":"unknown"}

Example request

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

Response

successful