API

Acepta 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.

patch/api/v1/orders/{order_id}

Request

  • Base URL
    https://api.lapyme.com.ar
  • URL
    https://api.lapyme.com.ar/api/v1/orders/{order_id}
  • Auth
    HTTP bearer

Path parameters

order_idstring uuid required

ID del pedido

Headers

Idempotency-Keystring

Obligatoria para ediciones estructurales. Se omite para el contrato histórico que actualiza solo notes.

Request body

OR

Response

Pedido actualizado exitosamente

request_idstring required

Changes

    • breaking

      the request's body type changed from object to 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 from integer to number for status

    • breaking

      the //// response's property type changed from integer to number for status

    • breaking

      the //// response's property type changed from integer to number for status

    • breaking

      the //// response's property type changed from integer to number for status

    • breaking

      the //// response's property type changed from integer to number for status

    • breaking

      the //// response's property type changed from integer to number for status

    • breaking

      the ////// response's property type changed from integer to number for status

    • breaking

      the ////// response's property type changed from integer to number for status

    • breaking

      the // response's property type changed from integer to number for status

    • warning

      removed the request property

    • warning

      added the new ARS enum value to the // response property for the response status

    • warning

      added the new USD enum value to the // response property for the response status

    • info

      added the new optional header request parameter Idempotency-Key

    • info

      added to the request body oneOf list

    • 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 DOL enum value from the // response property for the response status

    • info

      removed the PES enum value from the // response property for the response status

    • info

      response property data/order/customer_tax_id list-of-types was narrowed by removing types null from media type application/json of response 200

    • info

      response property data/order/invoices/items/formatted_invoice_number list-of-types was narrowed by removing types null from media type application/json of response 200

    • info

      response property data/order/line_items/items/discount_percentage list-of-types was narrowed by removing types null from media type application/json of response 200

    • info

      response property data/order/notes list-of-types was narrowed by removing types null from media type application/json of response 200

    • info

      response property data/order/preparations/items/formatted_remito_number list-of-types was narrowed by removing types null from media type application/json of response 200

    • info

      response property data/order/preparations/items/lines/items/discount_percentage list-of-types was narrowed by removing types null from media type application/json of response 200

    • 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