Crear movimiento de stock
Changed onRegistra un movimiento manual para ajustar stock. En mode replace, items[].expected_quantity compara el stock disponible observado con el valor actual bajo bloqueo. Si falta, el reemplazo es incondicional. En mode delta, expected_quantity no se acepta. Para un combo, compará la cantidad disponible del combo.
Request
- Base URLhttps://api.lapyme.com.ar
- URLhttps://api.lapyme.com.ar/api/v1/stock-movements
- AuthHTTP bearer
Headers
Clave única para evitar duplicados al reintentar el mismo movimiento de stock.
ID opcional de la solicitud para trazabilidad. Si se omite, el servidor genera uno.
Request body
Response
Movimiento de stock creado exitosamente
Changes
- breaking
for the
headerrequest parameterIdempotency-Key, the minLength was increased from0to1 - breaking
for the
headerrequest parameterX-Request-Id, the minLength was increased from0to1 - breaking
the
request property's minLength was increased from0to1 - breaking
the
request property type changed fromstringto no type, and format fromdate-timeto no format - warning
for the
headerrequest parameterIdempotency-Key, the maxLength was set to255 - warning
for the
headerrequest parameterX-Request-Id, the maxLength was set to255 - warning
the
request property's maxLength was set to2000 - warning
the
request property's maxLength was set to200 - info
added the new optional request property
// - info
added
subschema #1subschema #2to therequest propertyanyOflist - 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
- breaking