v1

latestOpenAPI 3.0.02026-08-043111167.0 KB
CompanyProduct

Get company-products

Get all companiesProducs belonging to a company where the user is a member

get/company-products

Query parameters

authorizationstring required

Authorization token

Response

Array of CompanyProduct model instances

idnumber
companyIdnumber
balancenumber
createdAtstring
updatedAtstring
activeboolean

Example response

[
  {
    "id": 1,
    "companyId": 1,
    "balance": 1000,
    "createdAt": "2021-03-01T00:00:00.000Z",
    "updatedAt": "2021-03-01T00:00:00.000Z",
    "active": true,
    "product": {
      "id": 1,
      "name": "Prefactoring",
      "description": "Prefactoring default product",
      "createdAt": "2021-03-01T00:00:00.000Z",
      "countryId": 1
    }
  }
]