Add product
Add product
Header Parameters
- x-api-key string required
- application/json
Request Body
- clientId uuid required
Client ID
- collectionId uuid required
Collection ID
- name string required
Product name.
- description string required
Product description.
- status string required
Collection status [DRAFT, DEPLOYED].
- price string required
Product price.
- network string required
Blockchain network [mainnet, testnet].
- createdBy string required
Product created by.
- imageUrl string required
NFT's S3 URL.
- tokenUri string required
Products pinata ipfs URL.
- attributes array required
Product's attributes
- chain string required
Blockchain [eth, polygon etc.]
- externalUrl https required
website url.
- copies integer required
Number of copies of each NFT
Responses
- 200
- 500
- application/json
- Example
{
"message": "Product added successfully"
}
- application/json
- Example
{
"message": "Error adding product"
}