Confirmar orden de compra
Changed onConfirma una orden de compra y devuelve el detalle persistido. Idempotency-Key es opcional; si se envía, un reintento con la misma clave devuelve el resultado original y la clave reusada con otro cuerpo responde 409 IDEMPOTENCY_CONFLICT.
Request
- Base URLhttps://api.lapyme.com.ar
- AuthHTTP bearer
- TypeScriptA function with typed inputs. Its response is checked against the schema.
Path parameters
ID de la orden de compra
Headers
Clave estable para deduplicar reintentos de la misma operación. Opcional en v1; si se envía, un reintento con la misma clave y el mismo cuerpo devuelve el resultado original sin repetir la operación, y con otro cuerpo devuelve 409.
Response
Orden de compra confirmada exitosamente
Changes
- info
added the new optional
headerrequest parameterIdempotency-Key
- info
- 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 - breaking
response property
data/purchase_order/warehouse_idlist-of-types was widened by adding typesnullto media typeapplication/jsonof response200 - 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 to the
//response propertyanyOflist for the response status - info
removed from the
//response propertyanyOflist for the response status - info
response property
data/purchase_order/formatted_order_numberlist-of-types was narrowed by removing typesnullfrom media typeapplication/jsonof response200 - info
response property
data/purchase_order/items/items/product/skulist-of-types was narrowed by removing typesnullfrom media typeapplication/jsonof response200 - info
response property
data/purchase_order/noteslist-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
- breaking