Skip to content

Overview

This API was created by Fairly Made to allow you to send your data needed for analyzes. If you need further information about it, please kindly contact your Fairly Made referents.

Overview
Languages
Servers
Mock server

https://doc.api.fairlymade.com/_mock/swagger-public-v2/

Sandbox Server

https://sandbox.api.fairlymade.com/

Production Server

https://api.fairlymade.com/

Authentication

You were provided a token by your Fairly Made referent, please use this token as a Bearer token to use the API

Routes documentation

For each route you can find the expected body with its required fields, the response payload and status code. Do not hesitate to use the arrows (>) on request body schemas and the plus sign (+) on the response payload to see more details.

Operations
Operations
Operations
Operations
Operations
Operations
Operations

Get showcase details from link's id

Request

Security
bearer
Path
idstringrequired

Id of the link that you can retrieve via GET /products/:productRef

curl -i -X GET \
  'https://doc.api.fairlymade.com/_mock/swagger-public-v2/v1/links/showcases/{id}' \
  -H 'Authorization: Bearer <YOUR_Bearer _HERE>'

Responses

Bodyapplication/json
accountobject(AccountFormatShowcase)required
account.​idstringrequired
account.​namestringrequired
account.​settingsobjectrequired
redirectionTypestringrequired
productobject(ProductFormatPublicShowcase)required
product.​namestringrequired
product.​publicNamestringrequired
product.​typestringrequired
product.​colorstringrequired
product.​picturestringrequired
product.​componentsArray of objects(ComponentFormatShowcase)required
Array [
product.​components[][].​namestringrequired
product.​components[][].​categorystringrequired
product.​components[][].​category_smcpstring

Specific category name for SMCP

product.​components[][].​compositionArray of objects(MaterialFormatShowcase)required
product.​components[][].​composition[].​idstringrequired

Unique identifier of the material

product.​components[][].​composition[].​percentagenumberrequired

Percentage of this material the parent component is made of

product.​components[][].​composition[].​raw_materialstringrequired

Name of its raw material

product.​components[][].​composition[].​raw_material_smcpstringrequired

Specific raw material name for SMCP

product.​components[][].​composition[].​materialTranslationsobjectrequired
product.​components[][].​composition[].​traceability_stepsArray of objects(TraceabilityStepFormatShowcase)required

A list of traceability steps making a full branch from this material to the upmost parent (should be product)

]
product.​gradesobject(ProductGradesPublicFormatShowcase)required
product.​grades.​recyclabilitynumberrequired
product.​grades.​traceabilitynumberrequired
product.​productCertificationsArray of objects(CertificationFormatShowcase)required
product.​productCertifications[].​refstringrequired

Reference code of this certification

product.​productCertifications[].​namestringrequired

Name of the certification

product.​productCertifications[].​statusstringrequired

Current status for this certification

Enum"NOT_VERIFIED""CAUTION""VALIDATED""EXPIRED"
product.​productCertifications[].​isVisiblebooleanrequired

Indicates if the document can be displayed or not

product.​impactsobject(StudyImpactPublicFormatShowcase)required
product.​impacts.​descriptionACVSpecificobjectrequired
product.​impacts.​descriptionACVobjectrequired
product.​impacts.​materialTextDescriptionobjectrequired
product.​impacts.​recyclabilityTextDescriptionobjectrequired
product.​impacts.​climateChangenumberrequired
product.​impacts.​eutrophicationFreshWaternumberrequired
product.​impacts.​resourceUseFossilsnumberrequired
product.​impacts.​resourceUseFossilsEquivalenceobjectrequired
product.​impacts.​eutrophicationFreshWaterEquivalenceobjectrequired
product.​impacts.​climateChangeEquivalenceobjectrequired
product.​impacts.​publicProductNamesobjectrequired
product.​impacts.​ecoContributionstringrequired
product.​impacts.​recycledMaterialsPercentagenumberrequired
product.​impacts.​microplasticPercentagenumberrequired
product.​impacts.​hazardousSubstancesTextDescriptionobjectrequired
product.​impacts.​frenchSingleScorenumberrequired
product.​impacts.​frenchSingleScorePerUnitWeightnumberrequired
product.​impacts.​frenchSingleScoreDetailsobject(StudyFrenchSingleScoreDetailsPublicFormatShowcase)required
product.​impacts.​frenchSingleScoreDetails.​brandScorenumberrequired
product.​impacts.​frenchSingleScoreDetails.​productScorenumberrequired
product.​impacts.​frenchSingleScoreDetails.​frenchSingleScorenumberrequired
product.​impacts.​frenchSingleScoreDetails.​malusBonusServiceDurationnumberrequired
product.​impacts.​frenchSingleScoreDetails.​referenceServiceDurationnumberrequired
product.​impacts.​frenchSingleScoreDetails.​adjustedServiceDurationnumberrequired
product.​impacts.​frenchSingleScoreDetails.​lcaFrenchSingleScorenumberrequired
product.​impacts.​frenchSingleScoreDetails.​ooeuExportFrenchSingleScorenumberrequired
product.​impacts.​frenchSingleScoreDetails.​microfibersFrenchSingleScorenumberrequired
product.​impacts.​frenchSingleScoreDetails.​productRangeCoefficientnumberrequired
product.​impacts.​frenchSingleScoreDetails.​repairPromotionCoefficientnumberrequired
product.​impacts.​frenchSingleScoreDetails.​traceabilityDisplayCoefficientnumberrequired
product.​impacts.​frenchSingleScoreDetails.​brandSettingsobject(AccountBrandSettingsPublicFormatShowcase)required
product.​impacts.​frenchSingleScoreDetails.​brandSettings.​companySizeobject(WordingTranslations)required
product.​impacts.​frenchSingleScoreDetails.​brandSettings.​repairServicebooleanrequired
product.​impacts.​frenchSingleScoreDetails.​brandSettings.​traceabilityDisplaybooleanrequired
product.​impacts.​frenchSingleScoreDetails.​brandSettings.​maxReferencesNumbernumberrequired
product.​impacts.​frenchSingleScoreDetails.​brandSettings.​productPricenumberrequired
product.​impacts.​frenchSingleScoreDetails.​brandSettings.​createdAtstring(date-time)required
product.​hasDurabilitybooleanrequired
product.​studyTypestringrequired
product.​viewTypestringrequired
product.​showcaseSettingsobject(ShowcaseSettingsV2Dto)required
product.​showcaseSettings.​viewTypestringrequired
Enum"STANDARD""STANDARD_NO_AGEC""AGEC""ECOSCORE"
product.​showcaseSettings.​agecProductobject(AgecProductDto)required
product.​showcaseSettings.​agecProduct.​hasAgecProductbooleanrequired
product.​showcaseSettings.​agecProduct.​hasTraceabilitybooleanrequired
product.​showcaseSettings.​agecProduct.​hasRecycledMaterialsbooleanrequired
product.​showcaseSettings.​agecProduct.​hasMicroplasticsbooleanrequired
product.​showcaseSettings.​agecProduct.​hasEcoContributionbooleanrequired
product.​showcaseSettings.​agecProduct.​hasProductRefsbooleanrequired
product.​showcaseSettings.​agecProduct.​hasDangerousSubstancesbooleanrequired
product.​showcaseSettings.​agecPackagingobject(AgecPackagingDto)required
product.​showcaseSettings.​agecPackaging.​hasAgecPackagingbooleanrequired
product.​showcaseSettings.​agecPackaging.​hasCompostabilitybooleanrequired
product.​showcaseSettings.​agecPackaging.​hasReemploymentbooleanrequired
product.​showcaseSettings.​agecPackaging.​hasRecycledMaterialsbooleanrequired
product.​showcaseSettings.​agecPackaging.​hasRecyclabilitybooleanrequired
product.​showcaseSettings.​agecPackaging.​hasEcoContributionbooleanrequired
product.​showcaseSettings.​agecPackaging.​hasDangerousSubstancesbooleanrequired
product.​showcaseSettings.​productDescriptionobject(ProductDescriptionDto)required
product.​showcaseSettings.​productDescription.​hasDescriptionbooleanrequired
product.​showcaseSettings.​productDescription.​hasPicturebooleanrequired
product.​showcaseSettings.​productDescription.​hasLogobooleanrequired
product.​showcaseSettings.​productDescription.​hasTraceabilityScorebooleanrequired
product.​showcaseSettings.​productDescription.​hasListMaterialsbooleanrequired
product.​showcaseSettings.​productDescription.​hasRecyclabilityScorebooleanrequired
product.​showcaseSettings.​productDescription.​hasPoweredFMbooleanrequired
product.​showcaseSettings.​productDescription.​hasCertificationsbooleanrequired
product.​showcaseSettings.​productDescription.​hasProductNamebooleanrequired
product.​showcaseSettings.​environmentalImpactobject(EnvironmentalImpactDto)required
product.​showcaseSettings.​environmentalImpact.​hasEnvironmentalImpactbooleanrequired
product.​showcaseSettings.​environmentalImpact.​hasEquivalenceKmbooleanrequired
product.​showcaseSettings.​traceabilityobject(TraceabilityDto)required
product.​showcaseSettings.​traceability.​hasTraceabilitybooleanrequired
product.​showcaseSettings.​traceability.​hasTransportIconsbooleanrequired
product.​showcaseSettings.​traceability.​hasDistancesbooleanrequired
product.​showcaseSettings.​traceability.​hasCertificationsbooleanrequired
product.​showcaseSettings.​traceability.​hasRegionsbooleanrequired
product.​showcaseSettings.​hasBrandMessagebooleanrequired
product.​showcaseSettings.​hasFlagsbooleanrequired
product.​showcaseSettings.​hasImpactsboolean
Default true
product.​showcaseSettings.​traceabilityLevelstringrequired
Enum"COMPONENT""MATERIAL"
product.​showcaseSettings.​redirectionTypestringrequired
Enum"DISPLAY_ERROR""DEFAULT_REDIRECTION_URL"
product.​packagingArray of objects(PackagingFormatShowcase)required
product.​packaging[].​idstringrequired
product.​packaging[].​namestringrequired
product.​packaging[].​refstringrequired
product.​packaging[].​typestringrequired
product.​packaging[].​channelstringrequired
product.​packaging[].​percentageRecyclednumberrequired
product.​packaging[].​ecoContributionstringrequired
product.​packaging[].​compostabilitystringrequired
product.​packaging[].​recyclabilitystringrequired
product.​packaging[].​possibilityReUsestringrequired
product.​packaging[].​hazardousSubstancesobjectrequired
studyStatestringrequired
productNamestringrequired
Response
application/json
{ "account": { "id": "string", "name": "string", "settings": {} }, "redirectionType": "string", "product": { "name": "string", "publicName": "string", "type": "string", "color": "string", "picture": "string", "components": [], "grades": {}, "productCertifications": [], "impacts": {}, "hasDurability": true, "studyType": "string", "viewType": "string", "showcaseSettings": {}, "packaging": [] }, "studyState": "string", "productName": "string" }

Request

Query
limitnumber

The number of items to return.

Default 20
offsetnumber

The number of items to skip before starting to collect the result.

Default 0
sortByArray of strings

Sort the results by the specified field(s).

sortDescArray of booleans

Sort the results in descending order. (true for descending, false for ascending)

searchstring
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'

Responses

Bodyapplication/json
offsetnumber

The number of items skiped before starting to collect the result.

Default 0
limitnumber

The number of items to return.

Default 20
totalnumber

The total number of items.

dataArray of objects(PackagingFormatOutputAll)

The list of items.

Response
application/json
{ "offset": 0, "limit": 20, "total": 0, "data": [ {} ] }

Request

Path
idstringrequired

Fairly Made's Packaging Id or your packagingRef

curl -i -X GET \
  'https://doc.api.fairlymade.com/_mock/swagger-public-v2/v2/packaging/{id}'

Responses

Bodyapplication/json
idstringrequired
packagingRefstringrequired
typestringrequired
Response
application/json
{ "id": "string", "packagingRef": "string", "type": "string" }

Request

Security
bearer
Query
limitnumber

The number of items to return.

Default 20
offsetnumber

The number of items to skip before starting to collect the result.

Default 0
sortByArray of strings

Sort the results by the specified field(s).

sortDescArray of booleans

Sort the results in descending order. (true for descending, false for ascending)

searchstring
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>'

Responses

Bodyapplication/json
offsetnumber

The number of items skiped before starting to collect the result.

Default 0
limitnumber

The number of items to return.

Default 20
totalnumber

The total number of items.

dataArray of objects(ProductFormatOutputAll)

The list of items.

Response
application/json
{ "offset": 0, "limit": 20, "total": 0, "data": [ {} ] }

Request

Security
bearer
Path
idstringrequired

Fairly Made's product id or your product's ref

curl -i -X GET \
  'https://doc.api.fairlymade.com/_mock/swagger-public-v2/v2/products/{id}' \
  -H 'Authorization: Bearer <YOUR_Bearer _HERE>'

Responses

Bodyapplication/json
idstringrequired

Unique identifier of this product

refArray of stringsrequired

A list of external references identifying this product

namestringrequired

The name of the product

categorystringrequired

The category of the product

studiesArray of objects(StudyV2FormatOutputMin)required

A list of studies' extracts linked to this product

studies[].​idstringrequired

Unique identifier of this study

studies[].​productRefstringrequired

Reference code of the study

studies[].​colorCodestringrequired

Color code of the study

studies[].​picturestringrequired

A link to the study's picture

studies[].​brandCollectionobjectrequired
studies[].​brandCollection.​idstringrequired

Unique identifier of this brand collection

studies[].​brandCollection.​namestringrequired

Name of the brand collection

studies[].​linksArray of objects(LinkFormatPublicOutputMin)required

A list of minimal information on links related to this study

studies[].​links[].​idstringrequired

Unique identifier of this link

studies[].​links[].​linkstringrequired

URL pointing to an HTTP ressource

studies[].​links[].​typestringrequired

Type of the link

studies[].​statestringrequired

The current study's state

Enum"PLANNED""REVIEWED""ARCHIVED""PUBLISHED""COMPLETED""IN_PROGRESS""CANCELLED"
Response
application/json
{ "id": "string", "ref": [ "string" ], "name": "string", "category": "string", "studies": [ {} ] }

Request

Security
bearer
Query
langArray of strings

Languages for AGEC Claims translations

Items Enum"fr""en""es""it"
collectionRefstringrequired

The brand collection reference

productRefstringrequired

The product reference

colorCodestringrequired

The product's color code

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>'

Responses

Bodyapplication/json
idstringrequired

Unique identifier of this study

statestringrequired

Last known state of study's progress

Enum"PLANNED""REVIEWED""ARCHIVED""PUBLISHED""COMPLETED""IN_PROGRESS""CANCELLED"
brandCollectionNamestringrequired

Name of the brand collection the study belongs to

categorystringrequired

Category of the study

productRefstringrequired

Product reference

colorCodestringrequired

Color code of the study

projectTypestringrequired

The type of project the study belongs to

purchaseOrderstringrequired

Purchase order the study is linked to

showcaseLinksstringrequired

A list of links to showcases separated by semi-colons

weightnumberrequired

Weight in grams of the product

ecoModulationstringrequired

Eco contribution information

picturestringrequired

A link to the study's picture

productobjectrequired
product.​idstringrequired

Unique identifier of this product

product.​refstringrequired

Reference code of the product

product.​namestringrequired

Name of the product

product.​publicNamestringrequired

Public name of the product usually displayed on public ressources

product.​certificationsArray of objects(CertificationV2FormatOutputMin)required

List of certifications tied to this product

product.​certifications[].​namestringrequired
product.​certifications[].​statusstringrequired
Enum"NOT_VERIFIED""CAUTION""VALIDATED""EXPIRED"
product.​certifications[].​isVisiblebooleanrequired
componentsArray of objects(ComponentV2FormatOutput)required

A list of components linked to this study

components[].​refstringrequired

Ref of the component

components[].​supplierCodestringrequired

Supplier reference code linked to the component

components[].​lotReferencesArray of stringsrequired

A list of batch reference

components[].​typestringrequired

Type of component

components[].​generalCompositionstringrequired

General composition of the component separated by semi-colons

components[].​namestringrequired

Name of the component

components[].​categorystringrequired

Category of the component

components[].​compositionArray of objects(MaterialFormatShowcase)required

A list of material used to make the component

components[].​composition[].​idstringrequired

Unique identifier of the material

components[].​composition[].​percentagenumberrequired

Percentage of this material the parent component is made of

components[].​composition[].​raw_materialstringrequired

Name of its raw material

components[].​composition[].​raw_material_smcpstringrequired

Specific raw material name for SMCP

components[].​composition[].​materialTranslationsobjectrequired
components[].​composition[].​materialTranslations.​enstring
components[].​composition[].​materialTranslations.​frstring
components[].​composition[].​materialTranslations.​esstring
components[].​composition[].​materialTranslations.​itstring
components[].​composition[].​traceability_stepsArray of objects(TraceabilityStepFormatShowcase)required

A list of traceability steps making a full branch from this material to the upmost parent (should be product)

components[].​composition[].​traceability_steps[].​idstringrequired

Unique identifier of this traceability step

components[].​composition[].​traceability_steps[].​namestringrequired

Name of the traceability step

components[].​composition[].​traceability_steps[].​positionstringrequired

Three sets of numbers going from 001 to 999, giving the absolute position of the traceability step in the tree

components[].​composition[].​traceability_steps[].​iconstringrequired

Icon attached to the traceability step

components[].​composition[].​traceability_steps[].​transportsArray of objects(TraceabilityStepTransportDto)required

List of all means of transportation travelling from this traceability step

components[].​composition[].​traceability_steps[].​transports[].​typestringrequired

Type of this transport

components[].​composition[].​traceability_steps[].​transports[].​distancenumberrequired

Distance travelled with this transport

components[].​composition[].​traceability_steps[].​transportationTypestring

Default transportation type assigned

components[].​composition[].​traceability_steps[].​supplierobjectrequired
components[].​composition[].​traceability_steps[].​supplier.​refstring

Reference of this supplier

components[].​composition[].​traceability_steps[].​supplier.​citystringrequired

City of this supplier

components[].​composition[].​traceability_steps[].​supplier.​countrystringrequired

Country of this supplier

components[].​composition[].​traceability_steps[].​supplier.​regionstringrequired

Region of this supplier

components[].​composition[].​traceability_steps[].​supplier.​socialCertificationsArray of objects(CertificationFormatShowcase)required

List of social certifications this supplier has

components[].​composition[].​traceability_steps[].​supplier.​environmentalCertificationsArray of objects(CertificationFormatShowcase)required

List of environmental certifications this supplier has

components[].​composition[].​traceability_steps[].​supplier.​isKnownbooleanrequired

Indicates if the supplier is known by the system

components[].​composition[].​traceability_steps[].​supplier.​namestring

The name of this supplier

components[].​composition[].​traceability_steps[].​supplier.​idstring

The unique identifier of this supplier

components[].​composition[].​traceability_steps[].​kmToNextnumberrequired

Number of kilometers separating this traceability step and the next one

components[].​weightnumberrequired

Weight of the component

components[].​categoryTranslationsobjectrequired
Example: {"en":"Paddings","fr":"Rembourrage","es":"Acolchado"}
components[].​categoryTranslations.​enstring
Example: "Paddings"
components[].​categoryTranslations.​frstring
Example: "Rembourrage"
components[].​categoryTranslations.​esstring
Example: "Acolchado"
components[].​categoryTranslations.​itstring
resultsobjectrequired
results.​resourceUseMineralsMetalsnumberrequired

EF impact category that addresses the use of non-renewable abiotic natural resources (minerals and metals) (in kg Sb eq)

results.​resourceUseFossilsnumberrequired

EF impact category that addresses the use of non-renewable fossil natural resources (e.g. natural gas, coal, oil) (in MJ)

results.​acidificationnumberrequired

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)

results.​humanToxicityCancernumberrequired

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)

results.​humanToxicityNonCancernumberrequired

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)

results.​eutrophicationFreshWaternumberrequired

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)

results.​eutrophicationMarinenumberrequired

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)

results.​eutrophicationTerrestrialnumberrequired

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)

results.​climateChangenumberrequired

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)

results.​climateChangeBiogenicnumberrequired
results.​climateChangeFossilnumberrequired
results.​climateChangeLandUsenumberrequired
results.​ionisingRadiationnumberrequired

EF impact category that accounts for the adverse health effects on human health caused by radioactive releases (in kBq U235 eq)

results.​landusenumberrequired

Use (occupation) and conversion (transformation) of land area by activities such as agriculture, forestry, roads, housing, mining, etc. (in points)

results.​ozoneDepletionnumberrequired

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)

results.​particulateMatternumberrequired

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)

results.​photochemicalOzoneFormationnumberrequired

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)

results.​waterUsenumberrequired

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)

results.​recycledMaterialsPercentagenumberrequired
results.​microplasticPercentagenumberrequired
results.​climateChangeEquivalenceobjectrequired
results.​eutrophicationFreshWaterEquivalenceobjectrequired
results.​resourceUseFossilsEquivalenceobjectrequired
results.​gradesobjectrequired
results.​grades.​recyclabilitynumberrequired

Ability to effectively recycle waste from identical or similar products

results.​grades.​traceabilitynumberrequired

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

results.​grades.​compliancenumberrequired

Average of the social performance of the various stakeholders in the value chain associated with it

results.​frenchSingleScorenumberrequired
results.​frenchSingleScorePerUnitWeightnumberrequired

French Single Score per unit weight

results.​frenchSingleScoreDetailsobjectrequired
results.​frenchSingleScoreDetails.​brandScorenumberrequired

Score of the brand

results.​frenchSingleScoreDetails.​productScorenumberrequired

Score of the product

results.​frenchSingleScoreDetails.​frenchSingleScorenumberrequired
results.​frenchSingleScoreDetails.​malusBonusServiceDurationnumberrequired
results.​frenchSingleScoreDetails.​referenceServiceDurationnumberrequired
results.​frenchSingleScoreDetails.​adjustedServiceDurationnumberrequired
results.​frenchSingleScoreDetails.​lcaFrenchSingleScorenumberrequired
results.​frenchSingleScoreDetails.​ooeuExportFrenchSingleScorenumberrequired
results.​frenchSingleScoreDetails.​microfibersFrenchSingleScorenumberrequired
results.​frenchSingleScoreDetails.​productRangeCoefficientnumberrequired
results.​frenchSingleScoreDetails.​repairPromotionCoefficientnumberrequired
results.​frenchSingleScoreDetails.​traceabilityDisplayCoefficientnumberrequired
results.​frenchSingleScoreDetails.​brandSettingsobjectrequired
results.​frenchSingleScoreDetails.​brandSettings.​companySizeobject(WordingTranslations)required
results.​frenchSingleScoreDetails.​brandSettings.​companySize.​enstring
results.​frenchSingleScoreDetails.​brandSettings.​companySize.​frstring
results.​frenchSingleScoreDetails.​brandSettings.​companySize.​esstring
results.​frenchSingleScoreDetails.​brandSettings.​companySize.​itstring
results.​frenchSingleScoreDetails.​brandSettings.​repairServicebooleanrequired
results.​frenchSingleScoreDetails.​brandSettings.​traceabilityDisplaybooleanrequired
results.​frenchSingleScoreDetails.​brandSettings.​maxReferencesNumbernumberrequired
results.​frenchSingleScoreDetails.​brandSettings.​productPricenumberrequired
results.​frenchSingleScoreDetails.​brandSettings.​createdAtstring(date-time)required
results.​ecotoxicityFreshWaternumberrequired
linksArray of objects(LinkV2FormatPublicOutputMin)required

A list of minimal information on links related to this study

links[].​linkstringrequired

URL pointing to an HTTP ressource

links[].​typestringrequired

Type of the link

showcaseTextsobjectrequired
showcaseTexts.​materialTextDescriptionobjectrequired

Description for material

showcaseTexts.​recyclabilityTextDescriptionobjectrequired

Description for recyclability

showcaseTexts.​descriptionACVobjectrequired

Description for the Lifecycle Analysis

showcaseTexts.​descriptionACVSpecificobjectrequired

Specific description for the Lifecycle Analysis

packagingArray of objects(PackagingV2FormatOutput)required

A list of packagings linked to this study

packaging[].​idstringrequired

Unique identifier of this packaging

packaging[].​packagingRefstringrequired

Ref of the Packaging

packaging[].​typestringrequired

Type of packaging

packaging[].​channelstringrequired

Distribution channel where the packaging is used

packaging[].​compostabilitystringrequired

Compostability of the packaging

packaging[].​ecoModulationstringrequired
packaging[].​hazardousSubstancesobjectrequired

Hazardous substances that are part of the packaging

packaging[].​percentageRecyclednumberrequired

Percentage of the packaging that is made from recycled matter

packaging[].​possibilityReUsestringrequired

Possibility of re-use of the packaging

Enum"N/A""NO - 0""YES - REFILLABLE""YES - REUSABLE"
packaging[].​recyclabilitystringrequired

Recyclability of the packaging: Taxonomy to be respected

Enum"N/A""NO - 0""YES - FULLY RECYCLING""YES - FULLY RECYCLING + RECYCLABLE IN THE SAME TYPE OF PACKAGING""YES - MOSTLY RECYCLING"
packaging[].​typeTranslationsobjectrequired
Example: {"en":"Box","fr":"Boîte","es":"Caja"}
packaging[].​typeTranslations.​enstring
Example: "Box"
packaging[].​typeTranslations.​frstring
Example: "Boîte"
packaging[].​typeTranslations.​esstring
Example: "Caja"
packaging[].​typeTranslations.​itstring
packaging[].​agecClaimsobjectrequired
packaging[].​agecClaims.​ecoModulationobjectrequired

AGEC Claim : Eco modulation of the packaging

packaging[].​agecClaims.​compostabilityobjectrequired

AGEC Claim : Compostability of the packaging

packaging[].​agecClaims.​recycledMaterialsobjectrequired

AGEC Claim : Recycled matter presence in the packaging

packaging[].​agecClaims.​recyclabilityobjectrequired

AGEC Claim : Recyclability of the packaging

packaging[].​agecClaims.​possibilityReUseobjectrequired

AGEC Claim : Possibility of re-use of the packaging

agecClaimsobjectrequired
agecClaims.​ecoModulationobjectrequired

AGEC Claim : Eco Modulation of the product

agecClaims.​microfibersobjectrequired

AGEC Claim : Microfibers presence in the product

agecClaims.​recycledMaterialsobjectrequired

AGEC Claim : Recycled matter presence in the product

Response
application/json
{ "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": {} } }

Request

Security
bearer
Path
idstringrequired

The study's id

Query
langArray of strings

Languages for AGEC Claims translations

Items Enum"fr""en""es""it"
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>'

Responses

Bodyapplication/json
idstringrequired

Unique identifier of this study

statestringrequired

Last known state of study's progress

Enum"PLANNED""REVIEWED""ARCHIVED""PUBLISHED""COMPLETED""IN_PROGRESS""CANCELLED"
brandCollectionNamestringrequired

Name of the brand collection the study belongs to

categorystringrequired

Category of the study

productRefstringrequired

Product reference

colorCodestringrequired

Color code of the study

projectTypestringrequired

The type of project the study belongs to

purchaseOrderstringrequired

Purchase order the study is linked to

showcaseLinksstringrequired

A list of links to showcases separated by semi-colons

weightnumberrequired

Weight in grams of the product

ecoModulationstringrequired

Eco contribution information

picturestringrequired

A link to the study's picture

productobjectrequired
product.​idstringrequired

Unique identifier of this product

product.​refstringrequired

Reference code of the product

product.​namestringrequired

Name of the product

product.​publicNamestringrequired

Public name of the product usually displayed on public ressources

product.​certificationsArray of objects(CertificationV2FormatOutputMin)required

List of certifications tied to this product

product.​certifications[].​namestringrequired
product.​certifications[].​statusstringrequired
Enum"NOT_VERIFIED""CAUTION""VALIDATED""EXPIRED"
product.​certifications[].​isVisiblebooleanrequired
componentsArray of objects(ComponentV2FormatOutput)required

A list of components linked to this study

components[].​refstringrequired

Ref of the component

components[].​supplierCodestringrequired

Supplier reference code linked to the component

components[].​lotReferencesArray of stringsrequired

A list of batch reference

components[].​typestringrequired

Type of component

components[].​generalCompositionstringrequired

General composition of the component separated by semi-colons

components[].​namestringrequired

Name of the component

components[].​categorystringrequired

Category of the component

components[].​compositionArray of objects(MaterialFormatShowcase)required

A list of material used to make the component

components[].​composition[].​idstringrequired

Unique identifier of the material

components[].​composition[].​percentagenumberrequired

Percentage of this material the parent component is made of

components[].​composition[].​raw_materialstringrequired

Name of its raw material

components[].​composition[].​raw_material_smcpstringrequired

Specific raw material name for SMCP

components[].​composition[].​materialTranslationsobjectrequired
components[].​composition[].​materialTranslations.​enstring
components[].​composition[].​materialTranslations.​frstring
components[].​composition[].​materialTranslations.​esstring
components[].​composition[].​materialTranslations.​itstring
components[].​composition[].​traceability_stepsArray of objects(TraceabilityStepFormatShowcase)required

A list of traceability steps making a full branch from this material to the upmost parent (should be product)

components[].​composition[].​traceability_steps[].​idstringrequired

Unique identifier of this traceability step

components[].​composition[].​traceability_steps[].​namestringrequired

Name of the traceability step

components[].​composition[].​traceability_steps[].​positionstringrequired

Three sets of numbers going from 001 to 999, giving the absolute position of the traceability step in the tree

components[].​composition[].​traceability_steps[].​iconstringrequired

Icon attached to the traceability step

components[].​composition[].​traceability_steps[].​transportsArray of objects(TraceabilityStepTransportDto)required

List of all means of transportation travelling from this traceability step

components[].​composition[].​traceability_steps[].​transports[].​typestringrequired

Type of this transport

components[].​composition[].​traceability_steps[].​transports[].​distancenumberrequired

Distance travelled with this transport

components[].​composition[].​traceability_steps[].​transportationTypestring

Default transportation type assigned

components[].​composition[].​traceability_steps[].​supplierobjectrequired
components[].​composition[].​traceability_steps[].​supplier.​refstring

Reference of this supplier

components[].​composition[].​traceability_steps[].​supplier.​citystringrequired

City of this supplier

components[].​composition[].​traceability_steps[].​supplier.​countrystringrequired

Country of this supplier

components[].​composition[].​traceability_steps[].​supplier.​regionstringrequired

Region of this supplier

components[].​composition[].​traceability_steps[].​supplier.​socialCertificationsArray of objects(CertificationFormatShowcase)required

List of social certifications this supplier has

components[].​composition[].​traceability_steps[].​supplier.​environmentalCertificationsArray of objects(CertificationFormatShowcase)required

List of environmental certifications this supplier has

components[].​composition[].​traceability_steps[].​supplier.​isKnownbooleanrequired

Indicates if the supplier is known by the system

components[].​composition[].​traceability_steps[].​supplier.​namestring

The name of this supplier

components[].​composition[].​traceability_steps[].​supplier.​idstring

The unique identifier of this supplier

components[].​composition[].​traceability_steps[].​kmToNextnumberrequired

Number of kilometers separating this traceability step and the next one

components[].​weightnumberrequired

Weight of the component

components[].​categoryTranslationsobjectrequired
Example: {"en":"Paddings","fr":"Rembourrage","es":"Acolchado"}
components[].​categoryTranslations.​enstring
Example: "Paddings"
components[].​categoryTranslations.​frstring
Example: "Rembourrage"
components[].​categoryTranslations.​esstring
Example: "Acolchado"
components[].​categoryTranslations.​itstring
resultsobjectrequired
results.​resourceUseMineralsMetalsnumberrequired

EF impact category that addresses the use of non-renewable abiotic natural resources (minerals and metals) (in kg Sb eq)

results.​resourceUseFossilsnumberrequired

EF impact category that addresses the use of non-renewable fossil natural resources (e.g. natural gas, coal, oil) (in MJ)

results.​acidificationnumberrequired

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)

results.​humanToxicityCancernumberrequired

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)

results.​humanToxicityNonCancernumberrequired

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)

results.​eutrophicationFreshWaternumberrequired

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)

results.​eutrophicationMarinenumberrequired

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)

results.​eutrophicationTerrestrialnumberrequired

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)

results.​climateChangenumberrequired

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)

results.​climateChangeBiogenicnumberrequired
results.​climateChangeFossilnumberrequired
results.​climateChangeLandUsenumberrequired
results.​ionisingRadiationnumberrequired

EF impact category that accounts for the adverse health effects on human health caused by radioactive releases (in kBq U235 eq)

results.​landusenumberrequired

Use (occupation) and conversion (transformation) of land area by activities such as agriculture, forestry, roads, housing, mining, etc. (in points)

results.​ozoneDepletionnumberrequired

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)

results.​particulateMatternumberrequired

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)

results.​photochemicalOzoneFormationnumberrequired

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)

results.​waterUsenumberrequired

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)

results.​recycledMaterialsPercentagenumberrequired
results.​microplasticPercentagenumberrequired
results.​climateChangeEquivalenceobjectrequired
results.​eutrophicationFreshWaterEquivalenceobjectrequired
results.​resourceUseFossilsEquivalenceobjectrequired
results.​gradesobjectrequired
results.​grades.​recyclabilitynumberrequired

Ability to effectively recycle waste from identical or similar products

results.​grades.​traceabilitynumberrequired

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

results.​grades.​compliancenumberrequired

Average of the social performance of the various stakeholders in the value chain associated with it

results.​frenchSingleScorenumberrequired
results.​frenchSingleScorePerUnitWeightnumberrequired

French Single Score per unit weight

results.​frenchSingleScoreDetailsobjectrequired
results.​frenchSingleScoreDetails.​brandScorenumberrequired

Score of the brand

results.​frenchSingleScoreDetails.​productScorenumberrequired

Score of the product

results.​frenchSingleScoreDetails.​frenchSingleScorenumberrequired
results.​frenchSingleScoreDetails.​malusBonusServiceDurationnumberrequired
results.​frenchSingleScoreDetails.​referenceServiceDurationnumberrequired
results.​frenchSingleScoreDetails.​adjustedServiceDurationnumberrequired
results.​frenchSingleScoreDetails.​lcaFrenchSingleScorenumberrequired
results.​frenchSingleScoreDetails.​ooeuExportFrenchSingleScorenumberrequired
results.​frenchSingleScoreDetails.​microfibersFrenchSingleScorenumberrequired
results.​frenchSingleScoreDetails.​productRangeCoefficientnumberrequired
results.​frenchSingleScoreDetails.​repairPromotionCoefficientnumberrequired
results.​frenchSingleScoreDetails.​traceabilityDisplayCoefficientnumberrequired
results.​frenchSingleScoreDetails.​brandSettingsobjectrequired
results.​frenchSingleScoreDetails.​brandSettings.​companySizeobject(WordingTranslations)required
results.​frenchSingleScoreDetails.​brandSettings.​companySize.​enstring
results.​frenchSingleScoreDetails.​brandSettings.​companySize.​frstring
results.​frenchSingleScoreDetails.​brandSettings.​companySize.​esstring
results.​frenchSingleScoreDetails.​brandSettings.​companySize.​itstring
results.​frenchSingleScoreDetails.​brandSettings.​repairServicebooleanrequired
results.​frenchSingleScoreDetails.​brandSettings.​traceabilityDisplaybooleanrequired
results.​frenchSingleScoreDetails.​brandSettings.​maxReferencesNumbernumberrequired
results.​frenchSingleScoreDetails.​brandSettings.​productPricenumberrequired
results.​frenchSingleScoreDetails.​brandSettings.​createdAtstring(date-time)required
results.​ecotoxicityFreshWaternumberrequired
linksArray of objects(LinkV2FormatPublicOutputMin)required

A list of minimal information on links related to this study

links[].​linkstringrequired

URL pointing to an HTTP ressource

links[].​typestringrequired

Type of the link

showcaseTextsobjectrequired
showcaseTexts.​materialTextDescriptionobjectrequired

Description for material

showcaseTexts.​recyclabilityTextDescriptionobjectrequired

Description for recyclability

showcaseTexts.​descriptionACVobjectrequired

Description for the Lifecycle Analysis

showcaseTexts.​descriptionACVSpecificobjectrequired

Specific description for the Lifecycle Analysis

packagingArray of objects(PackagingV2FormatOutput)required

A list of packagings linked to this study

packaging[].​idstringrequired

Unique identifier of this packaging

packaging[].​packagingRefstringrequired

Ref of the Packaging

packaging[].​typestringrequired

Type of packaging

packaging[].​channelstringrequired

Distribution channel where the packaging is used

packaging[].​compostabilitystringrequired

Compostability of the packaging

packaging[].​ecoModulationstringrequired
packaging[].​hazardousSubstancesobjectrequired

Hazardous substances that are part of the packaging

packaging[].​percentageRecyclednumberrequired

Percentage of the packaging that is made from recycled matter

packaging[].​possibilityReUsestringrequired

Possibility of re-use of the packaging

Enum"N/A""NO - 0""YES - REFILLABLE""YES - REUSABLE"
packaging[].​recyclabilitystringrequired

Recyclability of the packaging: Taxonomy to be respected

Enum"N/A""NO - 0""YES - FULLY RECYCLING""YES - FULLY RECYCLING + RECYCLABLE IN THE SAME TYPE OF PACKAGING""YES - MOSTLY RECYCLING"
packaging[].​typeTranslationsobjectrequired
Example: {"en":"Box","fr":"Boîte","es":"Caja"}
packaging[].​typeTranslations.​enstring
Example: "Box"
packaging[].​typeTranslations.​frstring
Example: "Boîte"
packaging[].​typeTranslations.​esstring
Example: "Caja"
packaging[].​typeTranslations.​itstring
packaging[].​agecClaimsobjectrequired
packaging[].​agecClaims.​ecoModulationobjectrequired

AGEC Claim : Eco modulation of the packaging

packaging[].​agecClaims.​compostabilityobjectrequired

AGEC Claim : Compostability of the packaging

packaging[].​agecClaims.​recycledMaterialsobjectrequired

AGEC Claim : Recycled matter presence in the packaging

packaging[].​agecClaims.​recyclabilityobjectrequired

AGEC Claim : Recyclability of the packaging

packaging[].​agecClaims.​possibilityReUseobjectrequired

AGEC Claim : Possibility of re-use of the packaging

agecClaimsobjectrequired
agecClaims.​ecoModulationobjectrequired

AGEC Claim : Eco Modulation of the product

agecClaims.​microfibersobjectrequired

AGEC Claim : Microfibers presence in the product

agecClaims.​recycledMaterialsobjectrequired

AGEC Claim : Recycled matter presence in the product

Response
application/json
{ "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": {} } }

Request

Security
bearer
Path
idstringrequired

The study's id

Query
langArray of strings

Languages for AGEC Claims translations

Default ["en"]
Items Enum"fr""en""es""it"
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>'

Responses

Bodyapplication/json
namestringrequired
publicNamestringrequired
typestringrequired
colorstringrequired
picturestringrequired
skustringrequired
componentsArray of objects(ComponentFormatShowcase)required
Array [
components[][].​namestringrequired
components[][].​categorystringrequired
components[][].​category_smcpstring

Specific category name for SMCP

components[][].​compositionArray of objects(MaterialFormatShowcase)required
components[][].​composition[].​idstringrequired

Unique identifier of the material

components[][].​composition[].​percentagenumberrequired

Percentage of this material the parent component is made of

components[][].​composition[].​raw_materialstringrequired

Name of its raw material

components[][].​composition[].​raw_material_smcpstringrequired

Specific raw material name for SMCP

components[][].​composition[].​materialTranslationsobjectrequired
components[][].​composition[].​materialTranslations.​enstring
components[][].​composition[].​materialTranslations.​frstring
components[][].​composition[].​materialTranslations.​esstring
components[][].​composition[].​materialTranslations.​itstring
components[][].​composition[].​traceability_stepsArray of objects(TraceabilityStepFormatShowcase)required

A list of traceability steps making a full branch from this material to the upmost parent (should be product)

components[][].​composition[].​traceability_steps[].​idstringrequired

Unique identifier of this traceability step

components[][].​composition[].​traceability_steps[].​namestringrequired

Name of the traceability step

components[][].​composition[].​traceability_steps[].​positionstringrequired

Three sets of numbers going from 001 to 999, giving the absolute position of the traceability step in the tree

components[][].​composition[].​traceability_steps[].​iconstringrequired

Icon attached to the traceability step

components[][].​composition[].​traceability_steps[].​transportsArray of objects(TraceabilityStepTransportDto)required

List of all means of transportation travelling from this traceability step

components[][].​composition[].​traceability_steps[].​transportationTypestring

Default transportation type assigned

components[][].​composition[].​traceability_steps[].​supplierobjectrequired
components[][].​composition[].​traceability_steps[].​kmToNextnumberrequired

Number of kilometers separating this traceability step and the next one

]
gradesobject(ProductGradesFormatShowcase)required
grades.​recyclabilitynumberrequired
grades.​traceabilitynumberrequired
productCertificationsArray of objects(CertificationFormatShowcase)required
productCertifications[].​refstringrequired

Reference code of this certification

productCertifications[].​namestringrequired

Name of the certification

productCertifications[].​statusstringrequired

Current status for this certification

Enum"NOT_VERIFIED""CAUTION""VALIDATED""EXPIRED"
productCertifications[].​isVisiblebooleanrequired

Indicates if the document can be displayed or not

impactsobject(ProductImpactFormatPublicShowcase)required
impacts.​descriptionACVSpecificobjectrequired
impacts.​descriptionACVobjectrequired
impacts.​materialTextDescriptionobjectrequired
impacts.​recyclabilityTextDescriptionobjectrequired
impacts.​climateChangenumberrequired
impacts.​climateChangeEquivalenceobjectrequired
impacts.​eutrophicationFreshWaternumberrequired
impacts.​eutrophicationFreshWaterEquivalenceobjectrequired
impacts.​resourceUseFossilsnumberrequired
impacts.​resourceUseFossilsEquivalenceobjectrequired
impacts.​publicProductNamesobjectrequired
impacts.​ecoContributionstringrequired
impacts.​recycledMaterialsPercentagenumberrequired
impacts.​microplasticPercentagenumberrequired
impacts.​hazardousSubstancesTextDescriptionobjectrequired
impacts.​frenchSingleScorenumberrequired
impacts.​frenchSingleScorePerUnitWeightnumberrequired
impacts.​frenchSingleScoreDetailsobject(FrenchSingleScoreDetailsPublicOutput)required
impacts.​frenchSingleScoreDetails.​brandScorenumberrequired

Score of the brand

impacts.​frenchSingleScoreDetails.​productScorenumberrequired

Score of the product

impacts.​frenchSingleScoreDetails.​frenchSingleScorenumberrequired
impacts.​frenchSingleScoreDetails.​malusBonusServiceDurationnumberrequired
impacts.​frenchSingleScoreDetails.​referenceServiceDurationnumberrequired
impacts.​frenchSingleScoreDetails.​adjustedServiceDurationnumberrequired
impacts.​frenchSingleScoreDetails.​lcaFrenchSingleScorenumberrequired
impacts.​frenchSingleScoreDetails.​ooeuExportFrenchSingleScorenumberrequired
impacts.​frenchSingleScoreDetails.​microfibersFrenchSingleScorenumberrequired
impacts.​frenchSingleScoreDetails.​productRangeCoefficientnumberrequired
impacts.​frenchSingleScoreDetails.​repairPromotionCoefficientnumberrequired
impacts.​frenchSingleScoreDetails.​traceabilityDisplayCoefficientnumberrequired
impacts.​frenchSingleScoreDetails.​brandSettingsobjectrequired
impacts.​frenchSingleScoreDetails.​brandSettings.​companySizeobject(WordingTranslations)required
impacts.​frenchSingleScoreDetails.​brandSettings.​companySize.​enstring
impacts.​frenchSingleScoreDetails.​brandSettings.​companySize.​frstring
impacts.​frenchSingleScoreDetails.​brandSettings.​companySize.​esstring
impacts.​frenchSingleScoreDetails.​brandSettings.​companySize.​itstring
impacts.​frenchSingleScoreDetails.​brandSettings.​repairServicebooleanrequired
impacts.​frenchSingleScoreDetails.​brandSettings.​traceabilityDisplaybooleanrequired
impacts.​frenchSingleScoreDetails.​brandSettings.​maxReferencesNumbernumberrequired
impacts.​frenchSingleScoreDetails.​brandSettings.​productPricenumberrequired
impacts.​frenchSingleScoreDetails.​brandSettings.​createdAtstring(date-time)required
hasDurabilitybooleanrequired
studyTypestringrequired
packagingArray of objects(PackagingFormatShowcase)required
packaging[].​idstringrequired
packaging[].​namestringrequired
packaging[].​refstringrequired
packaging[].​typestringrequired
packaging[].​channelstringrequired
packaging[].​percentageRecyclednumberrequired
packaging[].​ecoContributionstringrequired
packaging[].​compostabilitystringrequired
packaging[].​recyclabilitystringrequired
packaging[].​possibilityReUsestringrequired
packaging[].​hazardousSubstancesobjectrequired
agecClaimsobjectrequired
agecClaims.​ecoModulationobjectrequired

AGEC Claim : Eco Modulation of the product

agecClaims.​microfibersobjectrequired

AGEC Claim : Microfibers presence in the product

agecClaims.​recycledMaterialsobjectrequired

AGEC Claim : Recycled matter presence in the product

statestringrequired
Response
application/json
{ "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" }

Get the list of published studies linked to caller's account id

Request

Security
bearer
Query
statestring
collectionRefstring
productRefstringrequired
colorCodestring
dateStartstring
dateEndstring
limitnumber

The number of items to return.

Default 20
offsetnumber

The number of items to skip before starting to collect the result.

Default 0
sortByArray of strings

Sort the results by the specified field(s).

sortDescArray of booleans

Sort the results in descending order. (true for descending, false for ascending)

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>'

Responses

Request

Security
bearer
Query
limitnumber

The number of items to return.

Default 20
offsetnumber

The number of items to skip before starting to collect the result.

Default 0
sortByArray of strings

Sort the results by the specified field(s).

sortDescArray of booleans

Sort the results in descending order. (true for descending, false for ascending)

searchstring
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>'

Responses

Bodyapplication/json
offsetnumber

The number of items skiped before starting to collect the result.

Default 0
limitnumber

The number of items to return.

Default 20
totalnumber

The total number of items.

dataArray of objects(SuppliersFormatOutputAll)

The list of items.

Response
application/json
{ "offset": 0, "limit": 20, "total": 0, "data": [ {} ] }

Request

Security
bearer
Path
idstringrequired

Fairly Made's Supplier Id or your supplierRef

curl -i -X GET \
  'https://doc.api.fairlymade.com/_mock/swagger-public-v2/v2/suppliers/{id}' \
  -H 'Authorization: Bearer <YOUR_Bearer _HERE>'

Responses

Bodyapplication/json
idstringrequired
supplierRefArray of stringsrequired
namestringrequired
typestringrequired
createdAtstring(date-time)required
addressobject(AddressPublicV2Dto)required
address.​labelstring

The label of the address

Example: "Home"
address.​streetstring

The street of the address

Example: "1st street"
address.​additionalStreetstring

The additional street of the address

Example: "2nd street"
address.​citystring

The city of the address

Example: "Paris"
address.​administrativeAreastring

The administrative area of the address

Example: "Ile-de-France"
address.​postalCodestring

The postal code of the address

Example: "75000"
address.​countrystringrequired

ISO 3166-1 alpha-2 format (e.g : China = CN, France = FR)

Example: "CN"
address.​regionstring

Continent or an area of the world

Example: "Asia"
factory_performancesobject(SupplierFactoryPerformancesDto)required
factory_performances.​productionCapacitystring
factory_performances.​lossesnumber
factory_performances.​greenElectricityEquipmentPercentagenumber
factory_performances.​electricityConsumptionPerMonthnumber
factory_performances.​inHouseEffluentPercentagenumber
factory_performances.​transportationsArray of stringsrequired
factory_performances.​hasProgramImpactParticipationbooleanrequired
factory_performances.​heatTypestringrequired
factory_performances.​hasGreenElectricityEquipmentbooleanrequired
factory_performances.​greenElectricityEquipmentKindstringrequired
factory_performances.​hasInHouseEffluentTreatmentSystembooleanrequired
factory_performances.​inHouseEffluentKindstringrequired
factory_performances.​hasEnergyEfficientInvestmentbooleanrequired
factory_performances.​energyEfficientKindstringrequired
factory_performances.​hasWashedAfterManufacturingbooleanrequired
factory_performances.​washedAfterManufacturingLaundrystringrequired
detailsobject(AccountDetails)required
details.​nb_employeesnumberrequired
details.​websitestring
details.​contactEmailstring
contactsArray of objects(SupplierContactFormatMin)required
contacts[].​idstringrequired
contacts[].​createdAtstring(date-time)required
contacts[].​personobject(PersonOutputMin)required
contacts[].​person.​emailstring
categorystringrequired
certificationsArray of objects(CertificationFormatOutput)required
certifications[].​idstringrequired
certifications[].​typestringrequired
certifications[].​date_startstring(date-time)required
certifications[].​date_endstring(date-time)required
certifications[].​statusstringrequired
Enum"NOT_VERIFIED""CAUTION""VALIDATED""EXPIRED"
Response
application/json
{ "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": [ {} ] }