Actualizar producto
Changed onActualiza solo los campos enviados y devuelve el detalle persistido. Para un combo existente, product_type y components son opcionales: omitir components conserva la composición y omitir los campos de precio conserva el precio guardado. Si se envía components, reemplaza la composición completa. No permite convertir otros productos en combos. La actualización de un combo requiere Idempotency-Key para deduplicar reintentos.
Request
- Base URLhttps://api.lapyme.com.ar
- URLhttps://api.lapyme.com.ar/api/v1/products/{product_id}
- AuthHTTP bearer
Path parameters
ID del producto
Headers
ID opcional de la solicitud para trazabilidad. Si se omite, el servidor genera uno.
Clave estable obligatoria al actualizar un combo existente, aunque se omita product_type. Reutilizala solo para reintentar exactamente la misma actualización.
Request body
Response
Producto actualizado exitosamente
Changes
- breaking
for the
headerrequest parameterX-Request-Id, the minLength was increased from0to1 - breaking
removed the enum value
DOLof the request property - breaking
removed the enum value
PESof the request property - breaking
the
request property's minLength was increased from0to1 - breaking
the
request property's minLength was increased from0to1 - breaking
the response property
///became nullable for the status - breaking
the response property
//became nullable for the status - breaking
the response property
//became nullable for the status - breaking
the response property
//became nullable for the status - warning
for the
headerrequest parameterX-Request-Id, the maxLength was set to255 - warning
the
/request property's maxLength was set to100 - warning
the
/request property's maxLength was set to500 - warning
the
/request property's maxLength was set to2000 - warning
the
request property's maxLength was set to255 - warning
the
request property's maxLength was set to100 - info
added the new optional
headerrequest parameterIdempotency-Key - info
added the new optional request property
- info
added the new optional request property
- info
added the new optional request property
- info
added the new optional request property
- info
added the new optional request property
- info
the
request property default value07was added - info
added the new
ARSenum value to the request property - info
added the new
USDenum value to the request property - info
added the new
systemenum value to the request property - info
request property
list-of-types was widened by adding typesnullto media typeapplication/json - info
added the non-success response with the status
- info
added the optional property
//to the response with the status - info
added the optional property
///to the response with the status - info
added the optional property
///to the response with the status - info
added the optional property
///to the response with the status - info
added the optional property
///to the response with the status - info
added the optional property
///to the response with the status - info
added the optional property
///to the response with the status - info
added the optional property
///to the response with the status - info
response property
data/product/applied_price_list/adjustment_percentagelist-of-types was narrowed by removing typesnullfrom media typeapplication/jsonof response200 - info
response property
data/product/barcodelist-of-types was narrowed by removing typesnullfrom media typeapplication/jsonof response200 - info
response property
data/product/descriptionlist-of-types was narrowed by removing typesnullfrom media typeapplication/jsonof response200 - info
added 'propertyNames' constraint to the
///response property for the status - info
added the required property
/to the response with the status - info
added the required property
///to the response with the status - info
added the required property
//to the response with the status - info
added the required property
//to the response with the status - info
added the required property
//to the response with the status - info
added the required property
//to the response with the status - info
added the required property
//to the response with the status
- breaking