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.png

    This command is used to add a product to the shop. You need to specify the shop parameter as the ID of the shop, the name parameter as the name of the product, the type parameter as the type of the product, the description parameter as the description of the product, the featured parameter to indicate if the product is featured, and the logo parameter 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 shop parameter as the ID of the shop where you want to add the product.

  • Specify the name parameter as the name of the product.

  • Specify the type parameter as the type of the product. Choose from the following options: "Product", "Service", "Subscription", "Role", "Channel Access", "SPL Token", or "NFT".

  • Specify the description parameter as the description of the product.

  • Specify the featured parameter to indicate if the product should be featured. Set it to true for featured products.

  • Specify the logo parameter 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