Updates an existing product.
| Field Name | Data Type | Description |
|---|---|---|
name | string | New name for the product. |
weight | number | New weight. Condition: If updated, and isMaterialWeight is false, this field is required. |
weightMeasureUnit | string (enum) | Unit for the weight. |
isMaterialWeight | boolean | Toggle whether weight is calculated from materials. |
taxonomyId | string | Update taxonomy ID. |
size | string | Update product size. |
productCategory | string | [DEPRECATED] The category of the product. Use categoryExpansionId instead. |
categoryExpansionId | string | The product category code. |
packaging | Array<PackagingData> | Replace packaging list. Each item requires packagingId and amount. |
materials | Array<MaterialsData> | Replace materials list. Each item requires materialId and netUse. |
components | Array<ComponentData> | Replace components list. Each item requires componentId and unit. |
addPurchaseOrder | Array<POData> | Add new purchase orders to the product. Items include purchaseOrderId, purchaseDate, amountPurchase, and assembly (with femId). |
updatePurchaseOrder | Array<POData> | Update existing purchase orders. Items require _id. |
removePurchaseOrder | Array<string> | List of purchase order IDs (_id) to remove. |
frenchLabelCountry | object<code, name> | [FRENCH ECO-SCORE] The product’s final assembly location. Check the location list here. |
frenchLabelDyeingCountry | object<code, name> | [FRENCH ECO-SCORE] The product’s preparation, dyeing, and finishing location. Check the location list here. |
frenchLabelFabricCountry | object<code, name> | [FRENCH ECO-SCORE] The product’s textile formation location. Check the location list here. |
frenchLabelOptionalFields | object | [FRENCH ECO-SCORE] Optional fields for durability and scoring, including business, countrySpinning, numberOfReferences, price, and upcycled. |
weightIsPrimaryData | boolean | [FRENCH ECO-SCORE] Indicates if the weight data is primary data. |
add, update, and remove purchase orders in a single call.
addPurchaseOrder: Appends new purchase orders.updatePurchaseOrder: Matches by _id and updates fields.removePurchaseOrder: Removes purchase orders by _id.femId field.kilograms, grams, milligram, pound, ounce Determines what country this product was made in, for the French Label Eco-Scores.
Determines what country this product was dyed in, for the French Label Eco-Scores.
Determines what country this product was woven or knitted in, for the French Label Eco-Scores.
Optional durability fields for the French Label Eco-Score, gated by EnableFrenchEcoOptionalFields config key.
Ok
API light version of a CorpRepProductEntity for the API. Ideally we would
do this with a Pick
corpRep weight information
This interface was referenced by Exports's JSON-Schema
via the definition "userRef".
This interface was referenced by Exports's JSON-Schema
via the definition "accountRef".
corpRep weight information
This interface was referenced by Exports's JSON-Schema
via the definition "userRef".
This interface was referenced by Exports's JSON-Schema
via the definition "userRef".
corpRep weight information
Determines what country this product was made in, for the French Label Eco-Scores.
Determines what country this product was woven or knitted in, for the French Label Eco-Scores.
Determines what country this product was dyed in, for the French Label Eco-Scores.
Optional durability fields for the French Label Eco-Score, gated by EnableFrenchEcoOptionalFields config key.
Store information on whether a product is eligible for French Label Eco-Scores.
Determines the environmental impacts of a product based on mass, composition, place of manufacture, etc. (See https://ecobalyse.beta.gouv.fr/#/api)