Certifier API Guide
Good to know
This guide will walk you through integrating with the BeCause APIs and submitting lists of the companies you have awarded with certification(s).
In order to do so, you will in the next steps be asked to create and/or select the following:
If you need to use the API for advanced use cases such as:
Then just contact us, and we will guide you through it.
Select Certification
Select Identifier
The identifier is used for you to upload the unique ID you must provide for each awarded company
Select your group
See API Payloads
Select everything else to see this
1. First, you need to send the data to this endpoint:
curl -X 'POST' \
'https://api.because.eco/api/v1/bulk/consolidated/upsert-standard-holders' \
-H 'accept: text/plain' \
-H 'Content-Type: application/json-patch+json' \
-H 'Authorization: Basic <your api key>' \
-d '{ <payload specified below> }'
2. And, assuming you are sending certification information for this example company:
Company: BeCause ApS,
Domain: because.eco,
VAT: DK39745267,
Address:
Latitude: 55.66226377305261,
Longitude: 12.58718252728974,
Street Address: Njalsgade 76,
Zip: 2300,
Capital: Copenhagen,
Country: Denmark
The unique ID you keep for this certified company: CERTIFIED-0001.
3. Then, the payload should have this format:
{
"groupId": "undefined", //The id of your group 'undefined'
"companies": [
{
"name": "BeCause", //Example.
"identifier": {
"domainName": "because.eco", //Example. Optional.
"vatNumber": "DK39745267", //Example. Optional.
"customIdentifiers": [
{
"id": "undefined", //Your identifier 'undefined'
"value": "YourId E.g. BC0001" //Example. Mandatory. Never-changing and unique.
}
],
"locationCoordinates": {
"latitude": 12.123456, //Example. Mandatory.
"longitude": 12.123456 //Example. Mandatory.
},
"clientReferenceId": "YourId E.g. CERTIFIED-0001" //Optional.
},
"customProperties": [
{
"id": "undefined", //Your identifier 'undefined'
"value": "YourId E.g. CERTIFIED-0001" //Example. Mandatory and unique.
}
],
"companyAddress":{
"streetAddress": "Njalsgade 76", //Example. Mandatory.
"zipCode": "2300", //Example. Either Zipcode or city must be provided.
"city": "Copenhagen", //Example. Either Zipcode or city must be provided.
"region": "Capital", //Optional
"threeLetterCountryCode": "DNK" //Mandatory. Format: ALPHA-3 ISO-3166-1.
},
"certifications": [
{
"certificationId": "undefined", //The ID of your certification ''
"startDateUtc": "2021-11-30T00:00:00", //Optional.
"endDateUtc": "2022-11-30T00:00:00", //Mandatory.
"links": [], //Optional.
}
]
}
// ... Add the remaining certified companies here similarly to above
]
}
4. If you receive a HTTP 200 response after sending the data, then the upload was accepted
You can follow the progress and eventual result of the upload here: API Usage Overview
5. Finally, here is a description of the data you just sent:
Reach out to [email protected] or [email protected] for any questions, or if you need to send more advanced data such as consumption data.
Review API Data & Next Steps
1. Verify the status and result of the import:
You can see the status of the import here: API Usage Overview. If you face any issues with the import failing for unclear reasons, please reach out to [email protected]
2. If the import went well:
Success! The market places are now able to start fetching and showing your certification data.
You can see who has exported the list of your certified companies from this page:
From that page, you can also give manual access to any market places that you invite to the platform, such that they can download your data over API or via Excel from:
BeCause.eco will automatically give relevant market places the ability to fetch and show your certified companies - let us know, if you are not interested in this option.
3. Next steps?
Need to change your certification data? You can update your certification information from this page:
Want to have data insights? You can see the portfolio (group) of your certified companies from this page:
View my group of certified companies.
If want to know more about the features and possibilities of groups and certifications on the platform, please contact us