Sản Phẩm KiotViet icon

Sản Phẩm KiotViet

Quản lý sản phẩm từ KiotViet

Tạo Mới

AI-generated

Overview

This node manages products in the KiotViet system, specifically supporting the creation of new products. It is useful for automating product management tasks such as adding new products with detailed attributes, pricing, inventory, and images. For example, a retailer can use this node to programmatically add new products to their KiotViet inventory system, including setting prices, categories, and stock levels across multiple branches.

Use Case Examples

  1. Creating a new product with name, category ID, base price, retail price, and additional optional fields like barcode, description, unit, and inventory details.
  2. Adding product attributes and images during product creation to enrich product data.

Properties

Name Meaning
Tên Sản Phẩm The name of the product, required for creation.
ID Danh Mục The category ID to which the product belongs, required for creation.
Giá Gốc The base price of the product, required for creation.
Giá Bán Lẻ The retail price of the product, required for creation.
Trường Bổ Sung Additional optional fields for the product such as code, description, unit, sale permission, barcode, full name, variants, serial status, attributes, master product/unit IDs, conversion value, inventories, weight, and images.

Output

JSON

  • id - The unique identifier of the created product.
  • name - The name of the created product.
  • categoryId - The category ID of the created product.
  • basePrice - The base price of the created product.
  • retailPrice - The retail price of the created product.
  • code - The product code if provided.
  • barCode - The barcode of the product if provided.
  • fullName - The full name of the product if provided.
  • allowsSale - Indicates if the product is allowed to be sold.
  • description - Description of the product.
  • hasVariants - Indicates if the product has variants.
  • isProductSerial - Indicates if the product is a serial product.
  • unit - Unit of measurement for the product.
  • masterProductId - ID of the master product if applicable.
  • masterUnitId - ID of the basic unit if applicable.
  • conversionValue - Conversion value between units.
  • weight - Weight of the product.
  • inventories - Inventory details per branch.
  • attributes - Attributes of the product as name-value pairs.
  • images - List of image URLs associated with the product.

Dependencies

  • KiotViet API with authentication credentials

Troubleshooting

  • Ensure all required fields (name, categoryId, basePrice, retailPrice) are provided and correctly formatted.
  • Check API credentials and network connectivity to KiotViet API.
  • Validate that optional fields like categoryId and masterProductId are numeric where required.
  • If the node fails, enable 'Continue On Fail' to handle errors gracefully and inspect error messages for details.

Links

  • KiotViet API Documentation - Official API documentation for KiotViet platform, useful for understanding product management endpoints and data structures.

Discussion