Fetch Digital Passport Details using ID
Retrieve the data of the target digital product passport.
URL
To fetch the details of a specific digital product passport, use /productManagement/product/:productId
.
GET - https://{{nmpUrl}}/productManagement/product/:productId
Return Payload
Field | Type | Description |
---|---|---|
productGroupId | String | Identifier of the product group associated. |
productId | String | Identifier for the product. |
content | Object | Content details (schema added by API). |
aggregatedContent | Object | Content of product and content of productGroup . |
tags | Array | Tags associated with this product only. |
publicContent | Boolean | Visibility on platforms like OpenSea. |
protocol | String | Protocol to be used. ex: 99-breitling-0. |
minted | Boolean | Whether the digital passport is minted or not. |
tokenId | String | tokenId of the digital passport on the network. |
passphrase | String | View key of the NFT. |
Errors
Status Code | Success | Code | Error Message |
---|---|---|---|
404 | false | npm.productManager.ProductGroupIdDoesNotExist | Product group ID does not exist. |
500 | false | npm.productManagement.UnknownError | An unknown error has occurred. |
Updated 10 days ago