Crear compra
Changed onRegistra una compra y devuelve la operación creada junto con sus efectos de stock y contabilidad.
Request
- Base URLhttps://api.lapyme.com.ar
- URLhttps://api.lapyme.com.ar/api/v1/purchases
- AuthHTTP bearer
Headers
Clave única para evitar duplicados al reintentar la misma creación de compra.
ID opcional de la solicitud para trazabilidad. Si se omite, el servidor genera uno.
Request body
Response
Compra creada 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
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
request property's minLength was increased from0to1 - breaking
the
request property's minLength was increased from0to1 - 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 to32 - warning
the
//request property's maxLength was set to255 - warning
the
request property's maxLength was set to1000 - warning
the
request property's maxLength was set to2000 - warning
the
request property's maxLength was set to120 - 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
ARSenum value to the request property - info
added the new
USDenum value to the request property - info
added the non-success response with the status
- info
added the non-success response with the status
- info
removed 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
- breaking