/orders resource records purchase transactions in Avalex. An order captures which customer made a purchase, which products were included, the total amount charged, and the IDs of any licenses that were generated as a result. Orders provide an auditable paper trail connecting your customers, products, and licenses in a single record.
Required Permissions
List All Orders
Returns an array of all order records in your Avalex account.Create an Order
Array of license IDs to associate with this order. These should reference licenses already created via
/licenses.Get an Order by ID
Returns a single order record. Responds with404 Not Found if no order with that ID exists.
Update an Order
Performs a full replacement of the order record. You must include all fields you want to retain. Returns404 Not Found if the order does not exist.
This is a full replacement (
PUT). Omitted fields — such as licenseIds — will be cleared. Include all existing values you want to keep.Delete an Order
Permanently removes the order record. Returns204 No Content on success and 404 Not Found if the ID does not exist.
