# Purchase Order Restored This webhook is triggered when a Purchase Order is restored. Endpoint: POST purchaseOrderRestored Version: 1.0.0 Security: ApiKeyAuth ## Request fields (application/json): - `ID` (string, required) Unique ID of the supplier bill. - `Outlet` (string, required) Outlet origin of the supplier bill. - `Number` (string, required) Number of the supplier bill. - `Date` (string, required) Date of the supplier bill. - `DueDate` (string) Due date of the supplier bill. - `Supplier` (object, required) - `Supplier.Name` (string, required) Name of the supplier. - `Supplier.Title` (string, required) Title on behalf of the supplier. - `Supplier.FirstName` (string, required) First name of the supplier. - `Supplier.LastName` (string, required) Last name of the supplier. - `Supplier.Phone` (string, required) Phone number of the supplier. - `Supplier.Email` (string, required) Email of the supplier. - `Supplier.Code` (string, required) Member code of the supplier. - `Supplier.Gender` (string, required) Gender of the supplier. - `CreatorID` (string, required) Unique Creator ID of the supplier bill. - `Created` (string, required) Supplier bill creation date. - `Discount1` (number) Discount percentage applied to the bill. - `DiscountAmount` (number) Discount amount applied to the bill. - `Gross` (number, required) Total amount before discount. - `DiscountTotal` (number) Total discount in the supplier bill. - `TaxType` (string) Type of tax applied to the supplier bill. - `Tax` (number) Total tax amount. - `Purchase` (number) Total net purchase amount. - `PurchaseNTax` (number) Total amount of the supplier bill after taxes. - `Delivery` (string) Delivery status of the supplier bill. - `Tag` (string) Channel tagging system. - `TaxCalculation` (string) Type of tax calculation (Add / Include) - `Variants` (array, required) - `Variants.VariantID` (string) - `Variants.Name` (string) - `Variants.Code` (string) - `Variants.Quantity` (number) - `Variants.Price` (number) - `Variants.Discount` (number) - `Variants.Note` (string) - `Variants.Taxable` (boolean) - `Payments` (array, required) - `Payments.Date` (string) - `Payments.Amount` (number) - `Payments.Method` (string) ## Response 200 fields (application/json): - `status` (string) Example: "success"