Use this to list all domain purchases made by a user.
Copy
Ask AI
// See documentation to set up the client firstlet partnerApi = new superlink.PartnerApi();partnerApi.partnerPurchases((error, data, response) => { if (error) { console.error(error); } else { console.log('API called successfully. Returned data: ' + data); }});