Create an Item
Create a DPP (item) as an authenticated issuer. Creates an attestation which can be used to mint the token upon claiming.
Endpoint Information
- Method: POST
- URL:
/v1/{chain}/item/create
- Authentication Required: Yes
Authentication
An up-to-date Bearer PASETO token must be provided in the Authorization
header.
Request body
The request body must include:
data
– A JSON object containing the digital product passport data
Example request
{
"issuerBusinessId": "1234567-8",
"data": {
"product": {
"productId": "9359502000041",
"weight": {
"value": "500",
"unit": "g",
},
"image": "https://ipfs.io/ipfs/...",
"description": "Plain T-shirt",
"manufacturer": {
"name": "Example company"
},
"batch": {
"batchId": "5698754215",
"manufacturedDate": "Wed Aug 28 2024",
"provenance": [
{
"country": "FI",
"percentage": 100
}
],
},
},
},
}
Responses
✅ 200 – Success
{
"message": "DPP created successfully",
"data": { ... }
}