Sales
Get sale by ID
Retrieves a specific sale by its unique ID.
GET
bearerAuthheader
AuthorizationBearer <token>API key sent as Authorization: Bearer <API_KEY>.
id*stringThe unique ID of the sale.
Successful response with sale data
application/json- response
_id?stringUnique ID of the sale.
company?stringCompany ID associated with the sale.
user?createdAt?stringDate and time when the sale was created.
Format
date-timecurl -X GET 'https://api.getventia.com/api/v1.0/sales/string'{ "_id": "string", "company": "string", "user": { "name": "string", "lastname": "string" }, "createdAt": "2019-08-24T14:15:22Z"}