Products
Product-to-plot linking lets you work with EUDR data at the level you trade: products.
User guides: <link>
Creates a product owned by the active business. Ownership is set server-side and can't be changed afterwards.
Name of the product.
Rough-sawn oak boardsHS code of the product, as listed in Annex I to Regulation (EEC) No 2658/87. Separators are optional: "4403.12" and "440312" are equivalent.
440312The buyer's own reference for this product.
prod-001Short description of the product.
Kiln-dried, 25mmId of this product.
02c36247-1aad-41ba-aa49-f114ca4c263fName of the product.
Rough-sawn oak boardsHS code of the product, as a number string without separators.
440312Short description of the product.
Kiln-dried, 25mmWhat crops (among the relevant commodities) are grown on this field (currently).
The buyer's own reference for this product.
prod-001Id of the business owning this product.
02c36247-1aad-41ba-aa49-f114ca4c263fName of the business owning this product.
Acme TradingWhether the active business owns this product, as opposed to supplying it.
trueTotal number of suppliers the product has. Only present with 'includes=suppliers'. The product owner sees the full count, a product supplier sees 1.
3ISO 8601
2023-07-26T15:03:48.000ZISO 8601
2023-07-28T09:13:37.000ZPOST /products HTTP/1.1
Host: api.tradeaware.live-eo.com
Authorization: Bearer YOUR_SECRET_TOKEN
Content-Type: application/json
Accept: */*
Content-Length: 112
{
"name": "Rough-sawn oak boards",
"hsCode": "440312",
"buyerProductRef": "prod-001",
"description": "Kiln-dried, 25mm"
}{
"id": "02c36247-1aad-41ba-aa49-f114ca4c263f",
"name": "Rough-sawn oak boards",
"hsCode": "440312",
"description": "Kiln-dried, 25mm",
"commodity": "timber",
"buyerProductRef": "prod-001",
"ownerId": "02c36247-1aad-41ba-aa49-f114ca4c263f",
"ownerName": "Acme Trading",
"ownedByCaller": true,
"suppliers": [
{
"supplierId": "02c36247-1aad-41ba-aa49-f114ca4c263f",
"supplierName": "Acme Farms",
"plotsExpiryDate": "2030-01-31",
"assignedPlotsCount": 12
}
],
"suppliersTotal": 3,
"createdAt": "2023-07-26T15:03:48.000Z",
"updatedAt": "2023-07-28T09:13:37.000Z"
}Creates many products owned by the active business in one call.
Every valid row is created; each rejected row is reported individually with its index, a machine parseable code and a message. Rows are validated with the same rules as POST /products. A row whose buyerProductRef is already used by a live product of the business, or by an earlier row in the request, is rejected; rows without a ref are never treated as duplicates.
Always responds with 201, including when every row was rejected: inspect status rather than the HTTP code to determine the outcome.
Per row outcome of the batch. Returned for full success, partial failure and total failure alike.
Overall result. FAILURE means no product was created; the per row detail is still present.
PARTIAL_FAILUREPossible values: products is missing, not an array, empty, or longer than the limit.
POST /products/batch HTTP/1.1
Host: api.tradeaware.live-eo.com
Authorization: Bearer YOUR_SECRET_TOKEN
Content-Type: application/json
Accept: */*
Content-Length: 127
{
"products": [
{
"name": "Rough-sawn oak boards",
"hsCode": "440312",
"buyerProductRef": "prod-001",
"description": "Kiln-dried, 25mm"
}
]
}{
"status": "PARTIAL_FAILURE",
"summary": {
"total": 3,
"created": 1,
"failed": 2
},
"created": [
{
"index": 0,
"product": {
"id": "02c36247-1aad-41ba-aa49-f114ca4c263f",
"name": "Rough-sawn oak boards",
"hsCode": "440312",
"description": "Kiln-dried, 25mm",
"commodity": "timber",
"buyerProductRef": "prod-001",
"ownerId": "02c36247-1aad-41ba-aa49-f114ca4c263f",
"ownerName": "Acme Trading",
"ownedByCaller": true,
"suppliers": [
{
"supplierId": "02c36247-1aad-41ba-aa49-f114ca4c263f",
"supplierName": "Acme Farms",
"plotsExpiryDate": "2030-01-31",
"assignedPlotsCount": 12
}
],
"suppliersTotal": 3,
"createdAt": "2023-07-26T15:03:48.000Z",
"updatedAt": "2023-07-28T09:13:37.000Z"
}
}
],
"failed": [
{
"index": 1,
"name": "Cocoa beans",
"code": "VALIDATION_FAILED",
"message": "hsCode should be listed in Annex I to Regulation (EEC) No 2658/87",
"existingProductId": "0f8e6a3c-1d2b-4e5f-8a9b-0c1d2e3f4a5b",
"duplicateOfIndex": 0
}
]
}Sets the product's supplier list, sharing the product with the suppliers in the list and unsharing it from the suppliers no longer in the list. Sending an empty list unshares the product from all suppliers. The caller must be the owner of the product and have a business connection to each supplier sent.
The new product's supplier list. Each id must be a business the caller is connected to as buyer. An empty list removes all suppliers.
["c1dbc78d-a127-454a-961b-ef30becf37fd","a8593d6b-1d23-47d0-9396-72d1a4862d19"]Id of the supplier business this product is shared with.
02c36247-1aad-41ba-aa49-f114ca4c263fName of the supplier business.
Acme FarmsThe date the supplier's whole assigned-plots set expires on, or null. Informative only — expired assignments stay visible and editable.
2030-01-31How many plots the supplier has assigned to this product, excluding deleted plots.
12PUT /products/{productId}/suppliers HTTP/1.1
Host: api.tradeaware.live-eo.com
Authorization: Bearer YOUR_SECRET_TOKEN
Content-Type: application/json
Accept: */*
Content-Length: 95
{
"supplierIds": [
"c1dbc78d-a127-454a-961b-ef30becf37fd",
"a8593d6b-1d23-47d0-9396-72d1a4862d19"
]
}[
{
"supplierId": "02c36247-1aad-41ba-aa49-f114ca4c263f",
"supplierName": "Acme Farms",
"plotsExpiryDate": "2030-01-31",
"assignedPlotsCount": 12
}
]Soft-deletes a product owned by the active business. Deleted products are excluded from the listing.
No content
DELETE /products/{id} HTTP/1.1
Host: api.tradeaware.live-eo.com
Authorization: Bearer YOUR_SECRET_TOKEN
Accept: */*
No content
Partially updates a product owned by the active business. Ownership is immutable.
Name of the product.
Rough-sawn oak boardsHS code of the product, as listed in Annex I to Regulation (EEC) No 2658/87. Separators are optional: "4403.12" and "440312" are equivalent.
440312The buyer's own reference for this product.
prod-001Short description of the product.
Kiln-dried, 25mmId of this product.
02c36247-1aad-41ba-aa49-f114ca4c263fName of the product.
Rough-sawn oak boardsHS code of the product, as a number string without separators.
440312Short description of the product.
Kiln-dried, 25mmWhat crops (among the relevant commodities) are grown on this field (currently).
The buyer's own reference for this product.
prod-001Id of the business owning this product.
02c36247-1aad-41ba-aa49-f114ca4c263fName of the business owning this product.
Acme TradingWhether the active business owns this product, as opposed to supplying it.
trueTotal number of suppliers the product has. Only present with 'includes=suppliers'. The product owner sees the full count, a product supplier sees 1.
3ISO 8601
2023-07-26T15:03:48.000ZISO 8601
2023-07-28T09:13:37.000ZPATCH /products/{id} HTTP/1.1
Host: api.tradeaware.live-eo.com
Authorization: Bearer YOUR_SECRET_TOKEN
Content-Type: application/json
Accept: */*
Content-Length: 112
{
"name": "Rough-sawn oak boards",
"hsCode": "440312",
"buyerProductRef": "prod-001",
"description": "Kiln-dried, 25mm"
}{
"id": "02c36247-1aad-41ba-aa49-f114ca4c263f",
"name": "Rough-sawn oak boards",
"hsCode": "440312",
"description": "Kiln-dried, 25mm",
"commodity": "timber",
"buyerProductRef": "prod-001",
"ownerId": "02c36247-1aad-41ba-aa49-f114ca4c263f",
"ownerName": "Acme Trading",
"ownedByCaller": true,
"suppliers": [
{
"supplierId": "02c36247-1aad-41ba-aa49-f114ca4c263f",
"supplierName": "Acme Farms",
"plotsExpiryDate": "2030-01-31",
"assignedPlotsCount": 12
}
],
"suppliersTotal": 3,
"createdAt": "2023-07-26T15:03:48.000Z",
"updatedAt": "2023-07-28T09:13:37.000Z"
}The product's full supplier list, alphabetically. The owner sees every supplier; a supplier sees only itself, never who else supplies the product.
Id of the supplier business this product is shared with.
02c36247-1aad-41ba-aa49-f114ca4c263fName of the supplier business.
Acme FarmsThe date the supplier's whole assigned-plots set expires on, or null. Informative only — expired assignments stay visible and editable.
2030-01-31How many plots the supplier has assigned to this product, excluding deleted plots.
12GET /products/{productId}/suppliers HTTP/1.1
Host: api.tradeaware.live-eo.com
Authorization: Bearer YOUR_SECRET_TOKEN
Accept: */*
[
{
"supplierId": "02c36247-1aad-41ba-aa49-f114ca4c263f",
"supplierName": "Acme Farms",
"plotsExpiryDate": "2030-01-31",
"assignedPlotsCount": 12
}
]Returns the products the active business owns and those shared with it as a supplier in one flat array, newest first, each carrying 'ownedByCaller'. A product with several suppliers appears exactly once. Not paginated.
A comma-separated list of relations to be included in the response. Possible relations are: suppliers.
suppliersId of this product.
02c36247-1aad-41ba-aa49-f114ca4c263fName of the product.
Rough-sawn oak boardsHS code of the product, as a number string without separators.
440312Short description of the product.
Kiln-dried, 25mmWhat crops (among the relevant commodities) are grown on this field (currently).
The buyer's own reference for this product.
prod-001Id of the business owning this product.
02c36247-1aad-41ba-aa49-f114ca4c263fName of the business owning this product.
Acme TradingWhether the active business owns this product, as opposed to supplying it.
trueTotal number of suppliers the product has. Only present with 'includes=suppliers'. The product owner sees the full count, a product supplier sees 1.
3ISO 8601
2023-07-26T15:03:48.000ZISO 8601
2023-07-28T09:13:37.000ZGET /products HTTP/1.1
Host: api.tradeaware.live-eo.com
Authorization: Bearer YOUR_SECRET_TOKEN
Accept: */*
[
{
"id": "02c36247-1aad-41ba-aa49-f114ca4c263f",
"name": "Rough-sawn oak boards",
"hsCode": "440312",
"description": "Kiln-dried, 25mm",
"commodity": "timber",
"buyerProductRef": "prod-001",
"ownerId": "02c36247-1aad-41ba-aa49-f114ca4c263f",
"ownerName": "Acme Trading",
"ownedByCaller": true,
"suppliers": [
{
"supplierId": "02c36247-1aad-41ba-aa49-f114ca4c263f",
"supplierName": "Acme Farms",
"plotsExpiryDate": "2030-01-31",
"assignedPlotsCount": 12
}
],
"suppliersTotal": 3,
"createdAt": "2023-07-26T15:03:48.000Z",
"updatedAt": "2023-07-28T09:13:37.000Z"
}
]Replaces the whole set of plots the calling supplier assigned to the product, assigning the plots in the list and unassigning those no longer in it. Sending an empty list unassigns them all. Every plot sent must be owned by the active business, otherwise nothing is written. Only a supplier of the product can call this, never its owner.
The full set of plots the caller assigns to the product. Each id must be a plot the caller's active business owns. An empty list unassigns every plot.
["c1dbc78d-a127-454a-961b-ef30becf37fd","a8593d6b-1d23-47d0-9396-72d1a4862d19"]The date the whole assigned-plots set expires on. Omit to leave the stored date alone, send null to clear it.
2030-01-31Id of the supplier business the plots are assigned by.
02c36247-1aad-41ba-aa49-f114ca4c263fName of the supplier business.
Acme FarmsThe date the whole assigned-plots set expires on, or null. Informative only — expired assignments stay visible and editable.
2030-01-31PUT /products/{productId}/plots HTTP/1.1
Host: api.tradeaware.live-eo.com
Authorization: Bearer YOUR_SECRET_TOKEN
Content-Type: application/json
Accept: */*
Content-Length: 122
{
"plotIds": [
"c1dbc78d-a127-454a-961b-ef30becf37fd",
"a8593d6b-1d23-47d0-9396-72d1a4862d19"
],
"plotsExpiryDate": "2030-01-31"
}{
"supplierId": "02c36247-1aad-41ba-aa49-f114ca4c263f",
"supplierName": "Acme Farms",
"plotsExpiryDate": "2030-01-31",
"assignedPlots": [
{
"id": "02c36247-1aad-41ba-aa49-f114ca4c263f",
"createdAt": "2023-07-26T15:03:48Z",
"updatedAt": "2023-07-28T09:13:37Z",
"suppliers": [
{
"id": "02c36247-1aad-41ba-aa49-f114ca4c263f",
"email": "user@example.com",
"name": "Example Inc.",
"username": "John Doe",
"addressStreet": "Salawati 143",
"addressZip": "98451",
"addressPostcode": "12345",
"addressArea": "Brandenburg",
"addressCity": "West Papua",
"addressCountryCode": "ID",
"addressCountry": "Indonesia",
"addressLine1": "Salawati 123",
"addressLine2": "3rd floor",
"createdAt": "2023-07-26T15:03:48Z",
"updatedAt": "2023-07-28T09:13:37Z",
"initialLocale": "id-ID",
"units": "metric",
"plots": [
"[Circular Reference]"
],
"newlyCreated": "true",
"members": [
"[Circular Reference]"
],
"connectionsAsSource": [
"[Circular Reference]"
],
"connectionsAsTarget": [
"[Circular Reference]"
],
"businessInvitations": [
"[Circular Reference]"
],
"contactPerson": {},
"machineToMachineClientId": "1234567890asdfghjk",
"eori": "text",
"vat": "text",
"tracesEnvironment": "ACCEPTANCE"
}
],
"geometry": {
"type": "Polygon",
"coordinates": [
[
[
100,
0
],
[
100.01,
0
],
[
100.01,
0.01
],
[
100,
0.01
],
[
100,
0
]
]
]
},
"commodities": [
"oil palm",
"rubber"
],
"name": "text",
"surfaceArea": 1,
"countryCode": "text",
"mostRecentAnalysis": {
"id": "02c36247-1aad-41ba-aa49-f114ca4c263f",
"createdAt": "2023-07-26T15:03:48Z",
"updatedAt": "2023-07-28T09:13:37Z",
"status": "PENDING",
"plotId": "02c36247-1aad-41ba-aa49-f114ca4c263f",
"analysedAt": "2023-07-28T09:13:37Z",
"version": "open-source-1.0.0",
"deforestedArea": 123.45,
"deforestedGeometry": {
"type": "Polygon",
"coordinates": [
[
[
13,
52.5
],
[
13.5,
52.5
],
[
13.5,
52
],
[
13,
52
],
[
13,
52.5
]
]
]
},
"riskOfDeforestation": 0.3,
"type": "OS"
},
"mostRecentAnalysesByType": {
"EUFOROBS": {
"id": "02c36247-1aad-41ba-aa49-f114ca4c263f",
"createdAt": "2023-07-26T15:03:48Z",
"updatedAt": "2023-07-28T09:13:37Z",
"status": "PENDING",
"plotId": "02c36247-1aad-41ba-aa49-f114ca4c263f",
"analysedAt": "2023-07-28T09:13:37Z",
"version": "open-source-1.0.0",
"deforestedArea": 123.45,
"deforestedGeometry": {
"type": "Polygon",
"coordinates": [
[
[
13,
52.5
],
[
13.5,
52.5
],
[
13.5,
52
],
[
13,
52
],
[
13,
52.5
]
]
]
},
"riskOfDeforestation": 0.3,
"type": "OS"
},
"PRECISION": {
"id": "02c36247-1aad-41ba-aa49-f114ca4c263f",
"createdAt": "2023-07-26T15:03:48Z",
"updatedAt": "2023-07-28T09:13:37Z",
"status": "PENDING",
"plotId": "02c36247-1aad-41ba-aa49-f114ca4c263f",
"analysedAt": "2023-07-28T09:13:37Z",
"version": "open-source-1.0.0",
"deforestedArea": 123.45,
"deforestedGeometry": {
"type": "Polygon",
"coordinates": [
[
[
13,
52.5
],
[
13.5,
52.5
],
[
13.5,
52
],
[
13,
52
],
[
13,
52.5
]
]
]
},
"riskOfDeforestation": 0.3,
"type": "OS"
}
},
"riskAssessmentStatus": "NEW",
"riskLevel": "none",
"species": [
{
"scientificName": "Tectona grandis",
"commonName": "Teak"
}
],
"productionDateStart": {},
"productionDateEnd": {}
}
]
}The plots each supplier assigned to the product, alphabetically. The owner sees every supplier's set; a supplier sees only its own. A supplier that assigned nothing is still listed, with an empty set.
Id of the supplier business the plots are assigned by.
02c36247-1aad-41ba-aa49-f114ca4c263fName of the supplier business.
Acme FarmsThe date the whole assigned-plots set expires on, or null. Informative only — expired assignments stay visible and editable.
2030-01-31GET /products/{productId}/plots HTTP/1.1
Host: api.tradeaware.live-eo.com
Authorization: Bearer YOUR_SECRET_TOKEN
Accept: */*
[
{
"supplierId": "02c36247-1aad-41ba-aa49-f114ca4c263f",
"supplierName": "Acme Farms",
"plotsExpiryDate": "2030-01-31",
"assignedPlots": [
{
"id": "02c36247-1aad-41ba-aa49-f114ca4c263f",
"createdAt": "2023-07-26T15:03:48Z",
"updatedAt": "2023-07-28T09:13:37Z",
"suppliers": [
{
"id": "02c36247-1aad-41ba-aa49-f114ca4c263f",
"email": "user@example.com",
"name": "Example Inc.",
"username": "John Doe",
"addressStreet": "Salawati 143",
"addressZip": "98451",
"addressPostcode": "12345",
"addressArea": "Brandenburg",
"addressCity": "West Papua",
"addressCountryCode": "ID",
"addressCountry": "Indonesia",
"addressLine1": "Salawati 123",
"addressLine2": "3rd floor",
"createdAt": "2023-07-26T15:03:48Z",
"updatedAt": "2023-07-28T09:13:37Z",
"initialLocale": "id-ID",
"units": "metric",
"plots": "[Circular Reference]",
"newlyCreated": "true",
"members": "[Circular Reference]",
"connectionsAsSource": "[Circular Reference]",
"connectionsAsTarget": "[Circular Reference]",
"businessInvitations": "[Circular Reference]",
"contactPerson": "[Circular Reference]",
"machineToMachineClientId": "1234567890asdfghjk",
"eori": "text",
"vat": "text",
"tracesEnvironment": "ACCEPTANCE"
}
],
"geometry": {
"type": "Polygon",
"coordinates": [
[
[
100,
0
],
[
100.01,
0
],
[
100.01,
0.01
],
[
100,
0.01
],
[
100,
0
]
]
]
},
"commodities": [
"oil palm",
"rubber"
],
"name": "text",
"surfaceArea": 1,
"countryCode": "text",
"mostRecentAnalysis": {
"id": "02c36247-1aad-41ba-aa49-f114ca4c263f",
"createdAt": "2023-07-26T15:03:48Z",
"updatedAt": "2023-07-28T09:13:37Z",
"status": "PENDING",
"plotId": "02c36247-1aad-41ba-aa49-f114ca4c263f",
"analysedAt": "2023-07-28T09:13:37Z",
"version": "open-source-1.0.0",
"deforestedArea": 123.45,
"deforestedGeometry": {
"type": "Polygon",
"coordinates": [
[
[
13,
52.5
],
[
13.5,
52.5
],
[
13.5,
52
],
[
13,
52
],
[
13,
52.5
]
]
]
},
"riskOfDeforestation": 0.3,
"type": "OS"
},
"mostRecentAnalysesByType": {
"EUFOROBS": {
"id": "02c36247-1aad-41ba-aa49-f114ca4c263f",
"createdAt": "2023-07-26T15:03:48Z",
"updatedAt": "2023-07-28T09:13:37Z",
"status": "PENDING",
"plotId": "02c36247-1aad-41ba-aa49-f114ca4c263f",
"analysedAt": "2023-07-28T09:13:37Z",
"version": "open-source-1.0.0",
"deforestedArea": 123.45,
"deforestedGeometry": {
"type": "Polygon",
"coordinates": [
[
[
13,
52.5
],
[
13.5,
52.5
],
[
13.5,
52
],
[
13,
52
],
[
13,
52.5
]
]
]
},
"riskOfDeforestation": 0.3,
"type": "OS"
},
"PRECISION": {
"id": "02c36247-1aad-41ba-aa49-f114ca4c263f",
"createdAt": "2023-07-26T15:03:48Z",
"updatedAt": "2023-07-28T09:13:37Z",
"status": "PENDING",
"plotId": "02c36247-1aad-41ba-aa49-f114ca4c263f",
"analysedAt": "2023-07-28T09:13:37Z",
"version": "open-source-1.0.0",
"deforestedArea": 123.45,
"deforestedGeometry": {
"type": "Polygon",
"coordinates": [
[
[
13,
52.5
],
[
13.5,
52.5
],
[
13.5,
52
],
[
13,
52
],
[
13,
52.5
]
]
]
},
"riskOfDeforestation": 0.3,
"type": "OS"
}
},
"riskAssessmentStatus": "NEW",
"riskLevel": "none",
"species": [
{
"scientificName": "Tectona grandis",
"commonName": "Teak"
}
],
"productionDateStart": {},
"productionDateEnd": {}
}
]
}
]Last updated