add_product
π RADAR Documentation - Command: Add Product to Shop
π€ Command Group: shop
π Command Name: add_product
π Parameters:
shop(required: True) - Shop ID. (Type: string)name(required: True) - Item name. (Type: string)type(required: True) - Type of the item you're selling. (Type: string)description(required: True) - Item description. (Type: string)featured(required: True) - Is this item featured? (Type: boolean)logo(required: True) - Logo URL. (Type: string)
π Description:
Add a product to the shop.
π Example Usage:
Add a product to the shop with required parameters:
!add_product --shop 123456789 --name MyProduct --type Product --description Product description --featured true --logo https://example.com/logo.pngThis command is used to add a product to the shop. You need to specify the
shopparameter as the ID of the shop, thenameparameter as the name of the product, thetypeparameter as the type of the product, thedescriptionparameter as the description of the product, thefeaturedparameter to indicate if the product is featured, and thelogoparameter as the URL of the logo image for the product.
π Note:
This command allows you to add a product to a shop in your Solana NFT community.
Specify the
shopparameter as the ID of the shop where you want to add the product.Specify the
nameparameter as the name of the product.Specify the
typeparameter as the type of the product. Choose from the following options: "Product", "Service", "Subscription", "Role", "Channel Access", "SPL Token", or "NFT".Specify the
descriptionparameter as the description of the product.Specify the
featuredparameter to indicate if the product should be featured. Set it totruefor featured products.Specify the
logoparameter as the URL of the logo image for the product.After adding the product, a success message will be displayed indicating that the product has been added to the shop.
Last updated
Was this helpful?