List all sales
Lists all sales for a company
Customer is point in time property and is always expanded.
GET
/v1/hq/companies/{company_id}/salesAuthorizationBearer <token>
The Noona HQ API uses Bearer token for authentication.
Endpoints that return generic information that does not contain sensitive data do not require authentication. Endpoints that require authentication are specifically marked in the documentation.
Authorization: Bearer your-token
In: header
Path Parameters
company_id*string
Company ID
Query Parameters
sort?
pagination?
select?array<string>
expand?array<string>
Response Body
application/json
curl -X GET "https://api.noona.is/v1/hq/companies/string/sales"[
{
"id": "8wa9uiah28dawd123",
"transactions": [
{
"id": "string"
}
],
"events": [
{
"id": "string"
}
],
"company": "string",
"customer": {
"id": "string"
},
"created_at": "2019-08-24T14:15:22Z",
"updated_at": "2019-08-24T14:15:22Z"
}
]Empty
Empty
Empty