Editar pedido
Changed onAcepta el contrato histórico de solo notas sin Idempotency-Key. Para cambiar cliente, lista de precios, depósito, entrega, fecha, impuestos, descuento o líneas, enviá la representación estructural completa, expected_updated_at cuando necesites concurrencia optimista e Idempotency-Key. unit_price usa importes netos como los devueltos por el GET, y los campos opcionales omitidos conservan su valor actual. Un cambio de depósito o entrega traslada el trabajo pendiente y sus reservas en la misma operación.
Request
- Base URLhttps://api.lapyme.com.ar
- URLhttps://api.lapyme.com.ar/api/v1/orders/{order_id}
- AuthHTTP bearer
Path parameters
ID del pedido
Headers
Obligatoria para ediciones estructurales. Se omite para el contrato histórico que actualiza solo notes.
Request body
Response
Pedido actualizado exitosamente
Changes
- breaking
the request's body type changed from
objectto no type - 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
the response property
////became nullable for the status - breaking
the response property
//////became nullable for the status - breaking
the
////response's property type changed fromintegertonumberfor status - breaking
the
////response's property type changed fromintegertonumberfor status - breaking
the
////response's property type changed fromintegertonumberfor status - breaking
the
////response's property type changed fromintegertonumberfor status - breaking
the
////response's property type changed fromintegertonumberfor status - breaking
the
////response's property type changed fromintegertonumberfor status - breaking
the
//////response's property type changed fromintegertonumberfor status - breaking
the
//////response's property type changed fromintegertonumberfor status - breaking
the
//response's property type changed fromintegertonumberfor status - warning
removed the request property
- warning
added the new
ARSenum value to the//response property for the response status - warning
added the new
USDenum value to the//response property for the response status - info
added the new optional
headerrequest parameterIdempotency-Key - info
added to the request body
oneOflist - 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
removed the
DOLenum value from the//response property for the response status - info
removed the
PESenum value from the//response property for the response status - info
response property
data/order/customer_tax_idlist-of-types was narrowed by removing typesnullfrom media typeapplication/jsonof response200 - info
response property
data/order/invoices/items/formatted_invoice_numberlist-of-types was narrowed by removing typesnullfrom media typeapplication/jsonof response200 - info
response property
data/order/line_items/items/discount_percentagelist-of-types was narrowed by removing typesnullfrom media typeapplication/jsonof response200 - info
response property
data/order/noteslist-of-types was narrowed by removing typesnullfrom media typeapplication/jsonof response200 - info
response property
data/order/preparations/items/formatted_remito_numberlist-of-types was narrowed by removing typesnullfrom media typeapplication/jsonof response200 - info
response property
data/order/preparations/items/lines/items/discount_percentagelist-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
- breaking