API

Actualizar metadatos de venta

Changed on

Actualiza solo metadatos operativos de una venta: notas, referencia de integracion externa y vendedor. No permite modificar items, importes, pagos ni datos fiscales.

patch/api/v1/sales/{sale_id}

Request

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

Path parameters

sale_idstring uuid required

ID de la venta

Request body

notesstring nullable

Notas operativas de la venta. Enviar null o string vacio para limpiar.

integration_sourcestring nullable

Fuente de integracion externa. Debe enviarse junto con integrationId.

integration_idstring nullable

ID de referencia externa. Debe enviarse junto con integrationSource.

salesperson_idstring uuid

ID del miembro/vendedor que debe quedar asociado a la venta.

Response

Venta actualizada exitosamente

request_idstring required

Changes

    • breaking

      the / request property's minLength was increased from 0 to 1

    • breaking

      the / request property's minLength was increased from 0 to 1

    • breaking

      the response property // became nullable for the status

    • breaking

      the response property /// became nullable for the status

    • warning

      the / request property's maxLength was set to 255

    • warning

      the / request property's maxLength was set to 120

    • warning

      the / request property's maxLength was set to 1000

    • info

      added the new optional request property

    • 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 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

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

    • info

      response property data/document/file/url 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 'propertyNames' constraint to the / response property for the status

    • info

      added 'propertyNames' constraint to the / response property for the status

    • info

      added 'propertyNames' constraint to the // response property for the status

    • info

      added 'propertyNames' constraint to the / response property for the status

    • info

      added 'propertyNames' constraint to the / response property for the status

    • info

      added 'propertyNames' constraint to the // response property for the status

    • info

      added 'propertyNames' constraint to the / response property for the status

    • info

      added 'propertyNames' constraint to the // response property for the status