Ventia
Sales
GET
/sales/{id}

Authorization

bearerAuth
AuthorizationBearer <token>

API key sent as Authorization: Bearer <API_KEY>.

In: header

Path Parameters

id*string

The unique ID of the sale.

Response Body

application/json

application/json

application/json

application/json

curl -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"
}
{
  "error": "Invalid sale ID format"
}
{
  "error": "Invalid API KEY Group"
}
{
  "error": "Sale not found"
}