Actions23
Order → Create
AI-generatedSummary
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.