Update the purchasing settings
Change the company’s order notification email and default device lifetime, as an admin does on the cockpit’s Procurement settings page, and return the settings as getPurchasingSettings does. Only the fields given change: orderEmail (null removes it) and defaultDeviceDecommissioningYears (2, 3, 4 or 5), at least one of them. A new lifetime applies to the devices purchased from then on; updateDecommissioningDateOfAllDevices: true also rewrites the refresh date of every existing device that has a purchase date, which replaces dates set by hand. AppleCare Enterprise is changed with updateAppleCareEnterprise instead, a country is opened to orders with requestShippingCountry, and the policies are changed with updateEquipmentPolicy and updatePurchasingPolicy.