VMASS icon

VMASS

VMASS POS System Integration - Quản lý đơn hàng, sản phẩm, kho, khách hàng

Product → Create

AI-generated

Summary

Create a new product in the VMASS system by specifying required details and optional additional attributes.

Inputs

  • Name (required) — The name of the product to create.
  • Price (required) — The price of the product.
  • Category ID (required) — The identifier for the product's category.
  • Additional Fields — Optional additional fields including SKU, Barcode, Price Sale, and Active Sale status.

Output shape

a single record representing the created product with its properties.

The operation sends a POST request to /v1/products with the specified fields in the request body. The response is expected to return the newly created product data in the 'data' property of the API response object.

Examples

Example 1: Create a product with required fields and optional SKU and active sale flag.

Name: "Widget A", Price: 25.50, Category ID: 3, Additional Fields: SKU="WIDGETA001", Active Sale=true

Links

Discussion