API

Obtener venta por ID

Changed on

Devuelve el detalle de la venta.

get/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

Query parameters

fieldsstring[]

Comma-separated top-level sale sections to include. Omit for the detail default: id, invoicePdf, document, customer, amounts, items, payments, applications, fiscal, reversesVoucher, integration, audit, tags, metafields, accounting. accounting needs the reports:read scope and runs an extra query, so leave it out when you do not need the journal evidence.

Response

Venta obtenida exitosamente

request_idstring required

Changes

    • breaking

      the response property // became nullable for the status

    • breaking

      the response property /// became nullable for the status

    • info

      added the enum value accounting to the property items/ of the query request parameter fields

    • info

      added the enum value invoicePdf to the property items/ of the query request parameter fields

    • info

      added the enum value metafields to the property items/ of the query request parameter fields

    • info

      added the enum value tags to the property items/ of the query request parameter fields

    • 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

      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