Obtener venta por ID
Changed onDevuelve el detalle de la venta.
Request
- Base URLhttps://api.lapyme.com.ar
- URLhttps://api.lapyme.com.ar/api/v1/sales/{sale_id}
- AuthHTTP bearer
Path parameters
ID de la venta
Query parameters
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
Changes
- breaking
the response property
//became nullable for the status - breaking
the response property
///became nullable for the status - info
added the enum value
accountingto the propertyitems/of thequeryrequest parameterfields - info
added the enum value
invoicePdfto the propertyitems/of thequeryrequest parameterfields - info
added the enum value
metafieldsto the propertyitems/of thequeryrequest parameterfields - info
added the enum value
tagsto the propertyitems/of thequeryrequest parameterfields - 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_urllist-of-types was narrowed by removing typesnullfrom media typeapplication/jsonof response200 - info
response property
data/document/file/urllist-of-types was narrowed by removing typesnullfrom media typeapplication/jsonof response200 - 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
- breaking