The Royal Mail My User Account V2.1 (REST) API allows customers to manage their account details and Delivery Preferences.