Get the purchasing settings
Return the company’s purchasing settings as JSON, the ones of the cockpit’s Procurement settings page: orderEmail, the email that receives the order notifications (null when none is set); defaultDeviceDecommissioningYears, the default lifetime that sets a device’s refresh date from its purchase date; appleCareEnterpriseEnrollmentId (null when the company is not enrolled) and appleCareEnterpriseDurationYears, its coverage duration. To change the email or the lifetime, use updatePurchasingSettings; for AppleCare Enterprise, updateAppleCareEnterprise. The countries open to orders are read with getShippingCountries, the policies with getEquipmentPolicy and getPurchasingPolicy, and the billing profiles with getBillingProfiles.