Skip to content

Calculated FEC — by brand product id
deprecated

Request

Call by: brandProductId — the Fairly Made brand product id (UUID v4) from the 201 response of POST /brand-products.

Returns the calculated French Environmental Cost (FEC / Coût Environnemental Calculé) for the matching brand product.

Requires a Customer API bearer token. Your registry customer scope is resolved from the token.

Error responses use a dedicated JSON shape: machine-readable codes are returned in details[].reason.

Path
brandProductIdstring, (uuid)required

Brand product id (UUID v4). Use the id from the 201 response of POST /brand-products.

curl -i -X GET \
  'https://doc.api.fairlymade.com/_mock/swagger-fairlymadeapi-v3/calculated-french-environmental-cost/{brandProductId}'

Responses

Calculated FEC available for this brand product.

Bodyapplication/json
scoringobject(CalculatedFrenchEnvironmentalCostScoring)required

FEC score breakdown (AGEC / Ecobalyse methodology).

durabilityCoefficientnumber

Durability coefficient applied to the FEC calculation.

pictogramstring, (uri)

URL of the FEC pictogram (Ecobalyse image endpoint).

calculatedAtstring, (date-time)required

Timestamp when the FEC was calculated.

Response
{ "scoring": { "brandScore": 0, "productScore": 0, "lcaScore": 0, "ooeuExportScore": 0, "microfibersScore": 0, "malusBonusServiceDuration": 0, "referenceServiceDuration": 0, "frenchEnvironmentalCost": 0 }, "durabilityCoefficient": 0, "pictogram": "http://example.com", "calculatedAt": "2019-08-24T14:15:22Z" }