# Sales Order Updated Sends data when a sales order is updated. Endpoint: POST salesOrderUpdated Version: 1.0.0 Security: ApiKeyAuth ## Request fields (application/json): - `ID` (string, required) Unique ID of the invoice - `Outlet` (string, required) Name of the outlet - `Number` (string, required) Number of the invoice transaction - `Date` (string, required) Sell date of the invoice transaction - `DueDate` (string, required) Due date of the invoice transaction - `Tag` (string, required) Channel Tagging system. (ex:Offline / Whatsapp / Shopee / Tokopedia) used in marketplace.dealpos.app. Backwards Compatibility with property request "SalesType" - `Customer` (object, required) - `Customer.Name` (string, required) Name of the customer - `Customer.Email` (string, required) E-mail of the customer - `Customer.Phone` (string, required) Phone number of the customer - `Customer.Mobile` (string, required) Mobile Phone Number of the customer - `Customer.Code` (string, required) Unique Code of the customer - `CreatorID` (string, required) Unique ID of the creator - `Created` (string, required) Invoice created Transaction Date by system - `Discount1` (integer, required) Percentage of discount 1 - `Discount2` (integer, required) Percentage of discount 2 - `DiscountAmount` (integer, required) Discount Amount per-invoice - `Gross` (integer, required) Total amount of the transaction before discounted - `DiscountTotal` (integer, required) Total accumulation of whole discounts - `TaxType` (string, required) Type name of the tax - `TaxCalculation` (string, required) Calculation tax type (Add or Include) - `Tax` (integer, required) Total amount of the taxes - `TaxRate` (integer, required) Rate of Tax in percentage - `Sales` (integer, required) Total amount of the sales after subtraction - `Surcharge` (integer, required) Additional expense (ex: from credit card) - `SalesNTax` (integer, required) Total amount of sales after taxes - `Coupon` (string, required) Registered Coupon Name/Code - `Note` (string, required) Note of the invoice transaction - `PointUsed` (integer, required) Total point used in the transaction - `PointsEarned` (integer, required) Total point earned from the transaction - `Delivery` (string, required) Delivery status / progress of the invoice (Value: Sent / Unsent / Partial) - `Void` (string, required) Void state / status of the invoice (Yes / No) - `Variants` (array, required) - `Variants.VariantID` (string, required) Variant ID - `Variants.Name` (string, required) Variant's Name - `Variants.Code` (string, required) Variant's Code - `Variants.Quantity` (integer, required) Quantity of the variant - `Variants.UnitQuantity` (integer, required) Unit Quantity Measurement of the variant - `Variants.Cost` (integer, required) Unit Cost of variant - `Variants.Price` (integer, required) Selling Price of the variant - `Variants.PriceOriginal` (number, required) Original Price (before discounted) of the variant - `Variants.Discount` (integer, required) Discount Percentage (%) of the variant - `Variants.DiscountAmount` (integer, required) Total discount amount per-after multiply by the qty - `Variants.Taxable` (boolean, required) Taxable state/status of the invoice transaction - `Variants.LoyaltyPoint` (boolean, required) Loyalty state/status of the invoice transaction - `Variants.Expense` (integer, required) Additional Expense of the variant - `Variants.NettPrice` (integer, required) Total amount of the variant after subscration - `Variants.Commission` (integer, required) Sales commision of the invoice transaction - `Variants.SalesName` (string, required) Sales Person Name of the transaction - `Variants.PriceTypeID` (integer, required) Sales price type of the transaction - `Variants.Note` (string, required) Product Variant Note of the invoice transaction - `OutboundLogistics` (array, required) - `OutboundLogistics.Outlet` (string, required) Outlet Name Of Outbound Logistic - `OutboundLogistics.Number` (string, required) Outbound Logistic Number - `OutboundLogistics.Date` (string, required) Date of OutboundLogistic - `Payments` (array, required) - `Payments.Date` (string, required) Date of the payment - `Payments.Amount` (integer, required) Total amount of the payment - `Payments.Method` (string, required) Payment method of the invoice transaction - `Payments.Code` (string, required) Code of the payment method - `Payments.Note` (string, required) Note of the payment method ## Response 200 fields ## Response 400 fields ## Response 500 fields