Company

Endpoints scoped to the company/organization.


get/api/v1/companies/:company_id/products

Products

This endpoint brings the company products.

Required URL attributes

  • Name
    company_id
    Type
    string
    Description

    Unique identifier for the company.

Request

GET
/api/v1/companies/{company_id}/products
curl --location --request GET 'localhost:3000/api/v1/companies/5e4eafd3-aa78-41a9-8dc5-c4b2cfb77225/products' \
  --header 'X-API-KEY: {api_key}' \
  --header 'Accept: application/json'

Response

[
  {
    "id": "b8a46efd-6b6c-4284-8491-ffb9b87936a5",
    "name": "FHA Manufactured Home - 1004C"
  },
  {
    "id": "cde693bd-c7e4-46c8-91c4-21a4a68e2965",
    "name": "Condo - 1073 w/ 1007"
  },
]