STANDARD
FairlyMade API (2.0)
https://doc.api.fairlymade.com/_mock/swagger-public-v2/
https://sandbox.api.fairlymade.com/
https://api.fairlymade.com/
Lot Number (Batch), used to identify different traceability paths on a single component
Type of the component. If you do not know it, use 'OTHER'. Taxonomy to be respected
Category of the component: Taxonomy to be respected
The list of raw materials that make this component, along with their percentage, country of origin and list of certifications
Name of this raw material
ISO 3166-1 Alpha-2: Code of the country where the component is printed
ISO 3166-1 Alpha-2: Code of the country where the component is dyed
Certifications of the component: Taxonomy to be respected
Unique designation of a batch of data pushed. It can be a date, a number or another format decided with your Fairly Made referent.
- Mock server
https://doc.api.fairlymade.com/_mock/swagger-public-v2/v2/components
- Sandbox Server
https://sandbox.api.fairlymade.com/v2/components
- Production Server
https://api.fairlymade.com/v2/components
- curl
- JavaScript
- Node.js
- Python
- Java
- C#
- PHP
- Go
- Ruby
- R
- Payload
curl -i -X POST \
https://doc.api.fairlymade.com/_mock/swagger-public-v2/v2/components \
-H 'Content-Type: application/json' \
-d '{
"projectType": "STANDARD",
"componentRef": "string",
"supplierComponentCode": "string",
"lotReferences": [
"B57A",
"B57B"
],
"productCollectionRef": "string",
"productRef": "string",
"productColorCode": "DEFAULT",
"componentPrint": true,
"type": "LEATHER",
"category": "MAIN FABRIC (WOVEN)",
"composition": [
{
"material": "ORGANIC COTTON",
"percentage": 64.5
},
{
"material": "RECYCLED POLYESTER",
"percentage": 35.5
}
],
"printingCountry": "FR",
"dyeingCountry": "FR",
"knittingCountry": "FR",
"weavingCountry": "FR",
"shoeFinishingCountry": "FR",
"shoeStitchingCountry": "FR",
"componentWeight": 0,
"certifications": [
{
"date_start": "2019-08-24T14:15:22Z",
"type": "ABELUSI WOOL",
"date_end": "string",
"file": "string"
}
],
"importationBatch": "string",
"supplierRef": "string"
}'{ "success": true, "id": "id" }
Type of packaging: Taxonomy to be respected.
The distribution channel where the packaging is used: Taxonomy to be respected.
Percentage of recycled material present in the packaging
Eco-modulation linked to this packaging: Taxonomy to be respected.
Compostability of the packaging: Taxonomy to be respected.
Recyclability of the packaging: Taxonomy to be respected
Possibility of re-use of the packaging: Taxonomy to be respected
import id to identify the data import wave. It can be a date, a number or another format decided with your Fairly Made referent.
- Mock server
https://doc.api.fairlymade.com/_mock/swagger-public-v2/v2/packaging
- Sandbox Server
https://sandbox.api.fairlymade.com/v2/packaging
- Production Server
https://api.fairlymade.com/v2/packaging
- curl
- JavaScript
- Node.js
- Python
- Java
- C#
- PHP
- Go
- Ruby
- R
- Payload
curl -i -X POST \
https://doc.api.fairlymade.com/_mock/swagger-public-v2/v2/packaging \
-H 'Content-Type: application/json' \
-d '{
"packagingRef": "string",
"type": "POLYBAG",
"channel": "BOTH",
"percentageRecycled": 20,
"ecoModulation": [
"BONUS -4% OFF-PACK - AWARENESS CAMPAIGN MEDIA"
],
"compostability": "YES - COMPOSTABLE",
"recyclability": "YES - FULLY RECYCLING",
"possibilityReUse": "YES - REUSABLE",
"hazardousSubstances": {
"status": "UNKNOWN"
},
"importationBatch": "string",
"projectType": "STANDARD"
}'{ "success": true, "packagingId": "string", "packagingRef": [ {} ], "importationBatch": "string", "projectType": "string" }
Category of the product. If no type matches, use 'OTHER': Taxonomy to be respected
Composition of the product
Certificates/labels that the product (not the material ones). Has Taxonomy to be respected.
ISO 3166-1 Alpha-2: Manufacturing assembly country
Geographical area where the product will be sold. Taxonomy is to be respected.
Usual means of transportation used for the product
Code or reference name of your main warehouse (warehouses are to be referenced as a supplier). Must be already sent.
Eco-Modulation linked to this product: Taxonomy to be respected
import id to identify the data import wave. It can be a date, a number or another format decided with your Fairly Made referent.
Code or reference of the supplier in your internal systems. Must be already sent.
- Mock server
https://doc.api.fairlymade.com/_mock/swagger-public-v2/v2/products
- Sandbox Server
https://sandbox.api.fairlymade.com/v2/products
- Production Server
https://api.fairlymade.com/v2/products
- curl
- JavaScript
- Node.js
- Python
- Java
- C#
- PHP
- Go
- Ruby
- R
- Payload
curl -i -X POST \
https://doc.api.fairlymade.com/_mock/swagger-public-v2/v2/products \
-H 'Authorization: Bearer <YOUR_Bearer _HERE>' \
-H 'Content-Type: application/json' \
-d '{
"projectType": "STANDARD",
"name": "string",
"publicName": "string",
"productRef": "string",
"purchaseOrder": "string",
"picture": "string",
"category": "ACCESSORIES",
"productCollectionRef": "string",
"productColorCode": "DEFAULT",
"weight": 0,
"composition": "65% ORGANIC COTTON, 25% NIPOL®, 10% RECYCLED LOW DENSITY POLYETHYLENE",
"producedQuantity": 0,
"packagingRefs": [
"string"
],
"certifications": [
{
"date_start": "2019-08-24T14:15:22Z",
"type": "ABELUSI WOOL",
"date_end": "string",
"file": "string"
}
],
"manufacturingAssemblyCountry": "FR",
"destinationMarket": "AMERICA",
"transportTypeToDestMarket": "BOAT",
"warehouseRef": "string",
"reachCompliance": 1,
"ecoModulation": "ECOLOGIC ASL - CRITERIA 1 + 2",
"importationBatch": "string",
"supplierRef": "string",
"projectImpact": {}
}'{ "success": true, "projectType": "string", "productId": "string", "studyId": "string", "productRef": [ {} ], "name": "string", "productColorCode": "string", "qrCodeLink": "string", "showcaseLink": "string", "importationBatch": "string" }
Supplier's main category or activity. Taxonomy to be respected.
ISO 3166-1 alpha-2 format (e.g : China = CN, France = FR)
Contacts of the supplier
Certifications of the supplier. Has Taxonomy to be respected.
import id to identify the data import wave. It can be a date, a number or another format decided with your Fairly Made referent.
- Mock server
https://doc.api.fairlymade.com/_mock/swagger-public-v2/v2/suppliers
- Sandbox Server
https://sandbox.api.fairlymade.com/v2/suppliers
- Production Server
https://api.fairlymade.com/v2/suppliers
- curl
- JavaScript
- Node.js
- Python
- Java
- C#
- PHP
- Go
- Ruby
- R
- Payload
curl -i -X POST \
https://doc.api.fairlymade.com/_mock/swagger-public-v2/v2/suppliers \
-H 'Authorization: Bearer <YOUR_Bearer _HERE>' \
-H 'Content-Type: application/json' \
-d '{
"projectType": "STANDARD",
"name": "string",
"supplierRef": "string",
"category": "MANUFACTURING - Leather Goods",
"address": {
"label": "Home",
"street": "1st street",
"additionalStreet": "2nd street",
"city": "Paris",
"administrativeArea": "Ile-de-France",
"postalCode": "75000",
"country": "CN",
"region": "Asia"
},
"contacts": [
{
"person": {
"firstname": "John",
"name": "Doe",
"language": "fr",
"phone": "0123456789",
"email": "[email protected]"
}
}
],
"certifications": [
{
"date_start": "2019-08-24T14:15:22Z",
"type": "4SUSTAINABILITY CHEM ADVANCED",
"date_end": "string",
"file": "string"
}
],
"importationBatch": "string",
"additionalInformation": "string"
}'{ "success": true, "id": "string", "importationBatch": "string", "projectType": "string" }
- Mock server
https://doc.api.fairlymade.com/_mock/swagger-public-v2/v2/packaging
- Sandbox Server
https://sandbox.api.fairlymade.com/v2/packaging
- Production Server
https://api.fairlymade.com/v2/packaging
- curl
- JavaScript
- Node.js
- Python
- Java
- C#
- PHP
- Go
- Ruby
- R
- Payload
curl -i -X GET \
'https://doc.api.fairlymade.com/_mock/swagger-public-v2/v2/packaging?limit=20&offset=0&sortBy=string&sortDesc=true&search=string'{ "offset": 0, "limit": 20, "total": 0, "data": [ { … } ] }
- Mock server
https://doc.api.fairlymade.com/_mock/swagger-public-v2/v2/packaging/{id}
- Sandbox Server
https://sandbox.api.fairlymade.com/v2/packaging/{id}
- Production Server
https://api.fairlymade.com/v2/packaging/{id}
- curl
- JavaScript
- Node.js
- Python
- Java
- C#
- PHP
- Go
- Ruby
- R
- Payload
curl -i -X GET \
'https://doc.api.fairlymade.com/_mock/swagger-public-v2/v2/packaging/{id}'{ "id": "string", "packagingRef": "string", "type": "string" }
- Mock server
https://doc.api.fairlymade.com/_mock/swagger-public-v2/v2/products
- Sandbox Server
https://sandbox.api.fairlymade.com/v2/products
- Production Server
https://api.fairlymade.com/v2/products
- curl
- JavaScript
- Node.js
- Python
- Java
- C#
- PHP
- Go
- Ruby
- R
- Payload
curl -i -X GET \
'https://doc.api.fairlymade.com/_mock/swagger-public-v2/v2/products?limit=20&offset=0&sortBy=string&sortDesc=true&search=string' \
-H 'Authorization: Bearer <YOUR_Bearer _HERE>'{ "offset": 0, "limit": 20, "total": 0, "data": [ { … } ] }
- Mock server
https://doc.api.fairlymade.com/_mock/swagger-public-v2/v2/products/{id}
- Sandbox Server
https://sandbox.api.fairlymade.com/v2/products/{id}
- Production Server
https://api.fairlymade.com/v2/products/{id}
- curl
- JavaScript
- Node.js
- Python
- Java
- C#
- PHP
- Go
- Ruby
- R
- Payload
curl -i -X GET \
'https://doc.api.fairlymade.com/_mock/swagger-public-v2/v2/products/{id}' \
-H 'Authorization: Bearer <YOUR_Bearer _HERE>'{ "id": "string", "ref": [ "string" ], "name": "string", "category": "string", "studies": [ { … } ] }
- Mock server
https://doc.api.fairlymade.com/_mock/swagger-public-v2/v2/studies
- Sandbox Server
https://sandbox.api.fairlymade.com/v2/studies
- Production Server
https://api.fairlymade.com/v2/studies
- curl
- JavaScript
- Node.js
- Python
- Java
- C#
- PHP
- Go
- Ruby
- R
- Payload
curl -i -X GET \
'https://doc.api.fairlymade.com/_mock/swagger-public-v2/v2/studies?lang=fr&collectionRef=string&productRef=string&colorCode=string' \
-H 'Authorization: Bearer <YOUR_Bearer _HERE>'Last known state of study's progress
List of certifications tied to this product
A list of components linked to this study
General composition of the component separated by semi-colons
A list of material used to make the component
Percentage of this material the parent component is made of
A list of traceability steps making a full branch from this material to the upmost parent (should be product)
Unique identifier of this traceability step
Three sets of numbers going from 001 to 999, giving the absolute position of the traceability step in the tree
Icon attached to the traceability step
List of all means of transportation travelling from this traceability step
Default transportation type assigned
City of this supplier
Country of this supplier
Region of this supplier
List of social certifications this supplier has
List of environmental certifications this supplier has
Indicates if the supplier is known by the system
EF impact category that addresses the use of non-renewable abiotic natural resources (minerals and metals) (in kg Sb eq)
EF impact category that addresses the use of non-renewable fossil natural resources (e.g. natural gas, coal, oil) (in MJ)
Impacts due to acidifying substances in the environment. The protons contribute to the acidification of soils and water when they are released in areas where the buffering capacity is low, resulting in forest decline and lake acidification (in mol H+ eq)
EF impact category that accounts for adverse health effects on human beings caused by the intake of toxic substances through inhalation of air, food/water ingestion, penetration through the skin insofar as they are related to cancer (in CTUh)
EF impact category that accounts for the adverse health effects on human beings caused by the intake of toxic substances through inhalation of air, food/water ingestion, penetration through the skin insofar as they are related to non-cancer effects (in CTUh)
Nutrients from sewage outfalls and fertilised farmland accelerate the growth of algae and other vegetation in water. The degradation of organic material consumes oxygen resulting in oxygen deficiency and, in some cases, fish death (in kg P eq)
Nutrients from sewage outfalls and fertilised farmland accelerate the growth of algae and other vegetation in water. The degradation of organic material consumes oxygen resulting in oxygen deficiency and, in some cases, fish death (in kg N eq)
Nutrients from sewage outfalls and fertilised farmland accelerate the growth of algae and other vegetation in water. The degradation of organic material consumes oxygen resulting in oxygen deficiency and, in some cases, fish death (in mol N eq)
All inputs or outputs that result in greenhouse gas emissions. The consequences include increased average global temperatures and sudden regional climatic changes. Climate change is an impact affecting the environment on a global scale (in kg CO2 eq)
EF impact category that accounts for the adverse health effects on human health caused by radioactive releases (in kBq U235 eq)
Use (occupation) and conversion (transformation) of land area by activities such as agriculture, forestry, roads, housing, mining, etc. (in points)
Degradation of stratospheric ozone due to emissions of ozone-depleting substances, for example long-lived chlorine and bromine containing gases (e.g. CFCs, HCFCs, Halons) (in kg CFC^-11 eq)
EF impact category that accounts for the adverse health effects on human health caused by emissions of Particulate Matter (PM) and its precursors (NOx, SOx, NH3) (Diseace Incidence)
Formation of ozone at the ground level of the troposphere caused by photochemical oxidation of volatile organic compounds (VOCs). High concentrations of ground-level tropospheric ozone damage vegetation, human respiratory tracts and manmade materials through reaction with organic materials (in kg NMVOC eq)
Relative available water remaining per area in a watershed, after the demand of humans and aquatic ecosystems has been met. It assesses the potential of water deprivation, to either humans or ecosystems, building on the assumption that the less water remaining available per area (in m^3 eq)
Ability to effectively recycle waste from identical or similar products
The Traceability Score of a product represents the degree of knowledge of its value chain. We estimate the number of manufacturing steps required to produce the item and its main components and we evaluate the number of known suppliers within this theoretical value chain
A list of minimal information on links related to this study
A list of packagings linked to this study
Percentage of the packaging that is made from recycled matter
Possibility of re-use of the packaging
Recyclability of the packaging: Taxonomy to be respected
AGEC Claim : Recycled matter presence in the packaging
{ "id": "string", "state": "PLANNED", "brandCollectionName": "string", "category": "string", "productRef": "string", "colorCode": "string", "projectType": "string", "purchaseOrder": "string", "showcaseLinks": "string", "weight": 0, "ecoModulation": "string", "picture": "string", "product": { "id": "string", "ref": "string", "name": "string", "publicName": "string", "certifications": [ … ] }, "components": [ { … } ], "results": { "resourceUseMineralsMetals": 0, "resourceUseFossils": 0, "acidification": 0, "humanToxicityCancer": 0, "humanToxicityNonCancer": 0, "eutrophicationFreshWater": 0, "eutrophicationMarine": 0, "eutrophicationTerrestrial": 0, "climateChange": 0, "climateChangeBiogenic": 0, "climateChangeFossil": 0, "climateChangeLandUse": 0, "ionisingRadiation": 0, "landuse": 0, "ozoneDepletion": 0, "particulateMatter": 0, "photochemicalOzoneFormation": 0, "waterUse": 0, "recycledMaterialsPercentage": 0, "microplasticPercentage": 0, "climateChangeEquivalence": {}, "eutrophicationFreshWaterEquivalence": {}, "resourceUseFossilsEquivalence": {}, "grades": { … }, "frenchSingleScore": 0, "frenchSingleScorePerUnitWeight": 0, "frenchSingleScoreDetails": { … }, "ecotoxicityFreshWater": 0 }, "links": [ { … } ], "showcaseTexts": { "materialTextDescription": {}, "recyclabilityTextDescription": {}, "descriptionACV": {}, "descriptionACVSpecific": {} }, "packaging": [ { … } ], "agecClaims": { "ecoModulation": {}, "microfibers": {}, "recycledMaterials": {} } }
- Mock server
https://doc.api.fairlymade.com/_mock/swagger-public-v2/v2/studies/{id}/details
- Sandbox Server
https://sandbox.api.fairlymade.com/v2/studies/{id}/details
- Production Server
https://api.fairlymade.com/v2/studies/{id}/details
- curl
- JavaScript
- Node.js
- Python
- Java
- C#
- PHP
- Go
- Ruby
- R
- Payload
curl -i -X GET \
'https://doc.api.fairlymade.com/_mock/swagger-public-v2/v2/studies/{id}/details?lang=fr' \
-H 'Authorization: Bearer <YOUR_Bearer _HERE>'Last known state of study's progress
List of certifications tied to this product
A list of components linked to this study
General composition of the component separated by semi-colons
A list of material used to make the component
Percentage of this material the parent component is made of
A list of traceability steps making a full branch from this material to the upmost parent (should be product)
Unique identifier of this traceability step
Three sets of numbers going from 001 to 999, giving the absolute position of the traceability step in the tree
Icon attached to the traceability step
List of all means of transportation travelling from this traceability step
Default transportation type assigned
City of this supplier
Country of this supplier
Region of this supplier
List of social certifications this supplier has
List of environmental certifications this supplier has
Indicates if the supplier is known by the system
EF impact category that addresses the use of non-renewable abiotic natural resources (minerals and metals) (in kg Sb eq)
EF impact category that addresses the use of non-renewable fossil natural resources (e.g. natural gas, coal, oil) (in MJ)
Impacts due to acidifying substances in the environment. The protons contribute to the acidification of soils and water when they are released in areas where the buffering capacity is low, resulting in forest decline and lake acidification (in mol H+ eq)
EF impact category that accounts for adverse health effects on human beings caused by the intake of toxic substances through inhalation of air, food/water ingestion, penetration through the skin insofar as they are related to cancer (in CTUh)
EF impact category that accounts for the adverse health effects on human beings caused by the intake of toxic substances through inhalation of air, food/water ingestion, penetration through the skin insofar as they are related to non-cancer effects (in CTUh)
Nutrients from sewage outfalls and fertilised farmland accelerate the growth of algae and other vegetation in water. The degradation of organic material consumes oxygen resulting in oxygen deficiency and, in some cases, fish death (in kg P eq)
Nutrients from sewage outfalls and fertilised farmland accelerate the growth of algae and other vegetation in water. The degradation of organic material consumes oxygen resulting in oxygen deficiency and, in some cases, fish death (in kg N eq)
Nutrients from sewage outfalls and fertilised farmland accelerate the growth of algae and other vegetation in water. The degradation of organic material consumes oxygen resulting in oxygen deficiency and, in some cases, fish death (in mol N eq)
All inputs or outputs that result in greenhouse gas emissions. The consequences include increased average global temperatures and sudden regional climatic changes. Climate change is an impact affecting the environment on a global scale (in kg CO2 eq)
EF impact category that accounts for the adverse health effects on human health caused by radioactive releases (in kBq U235 eq)
Use (occupation) and conversion (transformation) of land area by activities such as agriculture, forestry, roads, housing, mining, etc. (in points)
Degradation of stratospheric ozone due to emissions of ozone-depleting substances, for example long-lived chlorine and bromine containing gases (e.g. CFCs, HCFCs, Halons) (in kg CFC^-11 eq)
EF impact category that accounts for the adverse health effects on human health caused by emissions of Particulate Matter (PM) and its precursors (NOx, SOx, NH3) (Diseace Incidence)
Formation of ozone at the ground level of the troposphere caused by photochemical oxidation of volatile organic compounds (VOCs). High concentrations of ground-level tropospheric ozone damage vegetation, human respiratory tracts and manmade materials through reaction with organic materials (in kg NMVOC eq)
Relative available water remaining per area in a watershed, after the demand of humans and aquatic ecosystems has been met. It assesses the potential of water deprivation, to either humans or ecosystems, building on the assumption that the less water remaining available per area (in m^3 eq)
Ability to effectively recycle waste from identical or similar products
The Traceability Score of a product represents the degree of knowledge of its value chain. We estimate the number of manufacturing steps required to produce the item and its main components and we evaluate the number of known suppliers within this theoretical value chain
A list of minimal information on links related to this study
A list of packagings linked to this study
Percentage of the packaging that is made from recycled matter
Possibility of re-use of the packaging
Recyclability of the packaging: Taxonomy to be respected
AGEC Claim : Recycled matter presence in the packaging
{ "id": "string", "state": "PLANNED", "brandCollectionName": "string", "category": "string", "productRef": "string", "colorCode": "string", "projectType": "string", "purchaseOrder": "string", "showcaseLinks": "string", "weight": 0, "ecoModulation": "string", "picture": "string", "product": { "id": "string", "ref": "string", "name": "string", "publicName": "string", "certifications": [ … ] }, "components": [ { … } ], "results": { "resourceUseMineralsMetals": 0, "resourceUseFossils": 0, "acidification": 0, "humanToxicityCancer": 0, "humanToxicityNonCancer": 0, "eutrophicationFreshWater": 0, "eutrophicationMarine": 0, "eutrophicationTerrestrial": 0, "climateChange": 0, "climateChangeBiogenic": 0, "climateChangeFossil": 0, "climateChangeLandUse": 0, "ionisingRadiation": 0, "landuse": 0, "ozoneDepletion": 0, "particulateMatter": 0, "photochemicalOzoneFormation": 0, "waterUse": 0, "recycledMaterialsPercentage": 0, "microplasticPercentage": 0, "climateChangeEquivalence": {}, "eutrophicationFreshWaterEquivalence": {}, "resourceUseFossilsEquivalence": {}, "grades": { … }, "frenchSingleScore": 0, "frenchSingleScorePerUnitWeight": 0, "frenchSingleScoreDetails": { … }, "ecotoxicityFreshWater": 0 }, "links": [ { … } ], "showcaseTexts": { "materialTextDescription": {}, "recyclabilityTextDescription": {}, "descriptionACV": {}, "descriptionACVSpecific": {} }, "packaging": [ { … } ], "agecClaims": { "ecoModulation": {}, "microfibers": {}, "recycledMaterials": {} } }
- Mock server
https://doc.api.fairlymade.com/_mock/swagger-public-v2/v2/studies/{id}/showcase
- Sandbox Server
https://sandbox.api.fairlymade.com/v2/studies/{id}/showcase
- Production Server
https://api.fairlymade.com/v2/studies/{id}/showcase
- curl
- JavaScript
- Node.js
- Python
- Java
- C#
- PHP
- Go
- Ruby
- R
- Payload
curl -i -X GET \
'https://doc.api.fairlymade.com/_mock/swagger-public-v2/v2/studies/{id}/showcase?lang=en' \
-H 'Authorization: Bearer <YOUR_Bearer _HERE>'Percentage of this material the parent component is made of
A list of traceability steps making a full branch from this material to the upmost parent (should be product)
Unique identifier of this traceability step
Name of the traceability step
Three sets of numbers going from 001 to 999, giving the absolute position of the traceability step in the tree
Icon attached to the traceability step
List of all means of transportation travelling from this traceability step
Default transportation type assigned
Current status for this certification
{ "name": "string", "publicName": "string", "type": "string", "color": "string", "picture": "string", "sku": "string", "components": [ [ … ] ], "grades": { "recyclability": 0, "traceability": 0 }, "productCertifications": [ { … } ], "impacts": { "descriptionACVSpecific": {}, "descriptionACV": {}, "materialTextDescription": {}, "recyclabilityTextDescription": {}, "climateChange": 0, "climateChangeEquivalence": {}, "eutrophicationFreshWater": 0, "eutrophicationFreshWaterEquivalence": {}, "resourceUseFossils": 0, "resourceUseFossilsEquivalence": {}, "publicProductNames": {}, "ecoContribution": "string", "recycledMaterialsPercentage": 0, "microplasticPercentage": 0, "hazardousSubstancesTextDescription": {}, "frenchSingleScore": 0, "frenchSingleScorePerUnitWeight": 0, "frenchSingleScoreDetails": { … } }, "hasDurability": true, "studyType": "string", "packaging": [ { … } ], "agecClaims": { "ecoModulation": {}, "microfibers": {}, "recycledMaterials": {} }, "state": "string" }
- Mock server
https://doc.api.fairlymade.com/_mock/swagger-public-v2/v2/studies/list-studies
- Sandbox Server
https://sandbox.api.fairlymade.com/v2/studies/list-studies
- Production Server
https://api.fairlymade.com/v2/studies/list-studies
- curl
- JavaScript
- Node.js
- Python
- Java
- C#
- PHP
- Go
- Ruby
- R
- Payload
curl -i -X GET \
'https://doc.api.fairlymade.com/_mock/swagger-public-v2/v2/studies/list-studies?state=string&collectionRef=string&productRef=string&colorCode=string&dateStart=string&dateEnd=string&limit=20&offset=0&sortBy=string&sortDesc=true' \
-H 'Authorization: Bearer <YOUR_Bearer _HERE>'- Mock server
https://doc.api.fairlymade.com/_mock/swagger-public-v2/v2/suppliers
- Sandbox Server
https://sandbox.api.fairlymade.com/v2/suppliers
- Production Server
https://api.fairlymade.com/v2/suppliers
- curl
- JavaScript
- Node.js
- Python
- Java
- C#
- PHP
- Go
- Ruby
- R
- Payload
curl -i -X GET \
'https://doc.api.fairlymade.com/_mock/swagger-public-v2/v2/suppliers?limit=20&offset=0&sortBy=string&sortDesc=true&search=string' \
-H 'Authorization: Bearer <YOUR_Bearer _HERE>'{ "offset": 0, "limit": 20, "total": 0, "data": [ { … } ] }
- Mock server
https://doc.api.fairlymade.com/_mock/swagger-public-v2/v2/suppliers/{id}
- Sandbox Server
https://sandbox.api.fairlymade.com/v2/suppliers/{id}
- Production Server
https://api.fairlymade.com/v2/suppliers/{id}
- curl
- JavaScript
- Node.js
- Python
- Java
- C#
- PHP
- Go
- Ruby
- R
- Payload
curl -i -X GET \
'https://doc.api.fairlymade.com/_mock/swagger-public-v2/v2/suppliers/{id}' \
-H 'Authorization: Bearer <YOUR_Bearer _HERE>'{ "id": "string", "supplierRef": [ "string" ], "name": "string", "type": "string", "createdAt": "2019-08-24T14:15:22Z", "address": { "label": "Home", "street": "1st street", "additionalStreet": "2nd street", "city": "Paris", "administrativeArea": "Ile-de-France", "postalCode": "75000", "country": "CN", "region": "Asia" }, "factory_performances": { "productionCapacity": "string", "losses": 0, "greenElectricityEquipmentPercentage": 0, "electricityConsumptionPerMonth": 0, "inHouseEffluentPercentage": 0, "transportations": [ … ], "hasProgramImpactParticipation": true, "heatType": "string", "hasGreenElectricityEquipment": true, "greenElectricityEquipmentKind": "string", "hasInHouseEffluentTreatmentSystem": true, "inHouseEffluentKind": "string", "hasEnergyEfficientInvestment": true, "energyEfficientKind": "string", "hasWashedAfterManufacturing": true, "washedAfterManufacturingLaundry": "string" }, "details": { "nb_employees": 0, "website": "string", "contactEmail": "string" }, "contacts": [ { … } ], "category": "string", "certifications": [ { … } ] }