Documentation Index
Fetch the complete documentation index at: https://developer.worldly.io/llms.txt
Use this file to discover all available pages before exploring further.
curl --request POST \
--url https://api-v2.production.higg.org/pic-api/v1/products/update/{productId} \
--header 'accept: application/json' \
--header 'content-type: application/json' \
--header 'x-api-key: <<apiKey>>' \
--header 'x-developer-request-token: <<apiKey>>' \
--data '{
"weightIsPrimaryData": true,
"frenchLabelCountry":{
"code":"BD",
"name":"Bangladesh"},
"frenchLabelDyeingCountry": {
"code": "BD",
"name": "Bangladesh"
},
"frenchLabelFabricCountry": {
"code": "BD",
"name": "Bangladesh"
}
}'
Append end point with Product ID
productId
Append the products/update end point with the Product ID of the product you want to update.Example:/products/update/12abc123456789101de12345--url https://api-v2.production.higg.org/pic-api/v1/products/update/{productId} \
Set Weight
field: weightIsPrimaryData
Field type: boolean
- Set this field to: “true”
- To generate a French Eco-Score, you must include primary data for Product Weight.
"weightIsPrimaryData": true,
Set Country of Manufacture
object: frenchLabelCountry
field: code
set the 2 letter abbreviation for the country of manufacturefield: name
Set the full name of the country of manufacture in English"frenchLabelCountry":{
"code":"BD",
"name":"Bangladesh"},
Set Country of Finishing
object: frenchLabelDyeingCountry
field: code
set the 2 letter abbreviation for the country of Finishingfield: name
Set the full name of the country of Finishing in English"frenchLabelDyeingCountry": {
"code": "BD",
"name": "Bangladesh"
},
Set Country of Textile Formation
object: frenchLabelFabricCountry
field: code
set the 2 letter abbreviation for the country of Textile Formationfield: name
Set the full name of the country of Textile Formation in English"frenchLabelFabricCountry": {
"code": "BD",
"name": "Bangladesh"
}