store_product_v1_metadata
Stores a ProductV1 metadata object to IPFS. Call before create_offer to get metadataUri and metadataHash. Returns: { metadataUri: 'ipfs://...', metadataHash: '0x...' }.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | Yes | ||
| type | Yes | ||
| uuid | Yes | ||
| image | Yes | ||
| seller | Yes | ||
| product | Yes | ||
| configId | Yes | Boson/Fermion Protocol deployment identifier. Format: '<env>-<chainId>-<index>' e.g. 'production-137-0' (Polygon mainnet), 'testing-80002-0' (Amoy testnet). Call get_config_ids to list all valid values for this server. | |
| shipping | Yes | ||
| condition | No | ||
| imageData | No | ||
| schemaUrl | Yes | ||
| attributes | Yes | ||
| licenseUrl | Yes | ||
| variations | No | ||
| youtubeUrl | No | ||
| description | Yes | ||
| externalUrl | Yes | ||
| animationUrl | No | ||
| signerAddress | Yes | Ethereum address that will sign and send this transaction. Must match the wallet that will sign the returned transaction locally. | |
| exchangePolicy | Yes | ||
| productOverrides | No |