Retrieves all active products for a specific business

GET /business-product/{businessId}

Retrieves all active products for a specific business

Path parameters

Responses

GET /business-product/{businessId}
curl \
 -X GET https://beta.api.sustainology.life/business-product/{businessId} \
 -H "Authorization: Bearer $ACCESS_TOKEN"
Response examples (200)
{
  "message": "Products retrieved successfully!",
  "response": [
    {
      "projectId": "123456",
      "businessId": "FKTRP77798T5",
      "description": "Product 1 description",
      "productName": "Product 1",
      "registryName": "Registry 1",
      "carbonEmission": 2.5,
      "carbonCreditPrice": 10
    }
  ]
}
Response examples (500)
{
  "message": "We apologize for the inconvenience. It seems we've encountered an internal server error. !."
}