VMASS icon

VMASS

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

Order → Create

AI-generated

Summary

Create a new order with specified items and optional additional customer and payment details.

Inputs

  • Items (required) — A list of items in the order, each with a required Product ID, optional Quantity, Price (in VND), and Note.
  • Additional Fields — Optional additional order information including Customer ID, Phone, Customer Name, Payment Method (Cash, Transfer, Card), Discount (VND), Tax Fee (VND), and an order note.

Output shape

A single JSON object representing the created order returned from the API.

On success, the operation returns the newly created order data from the VMASS API. If multiple input items are processed, each produces one output item. Errors include an error message and status code. Supports continue-on-fail mode to allow workflow continuation despite errors.

Links

Discussion