List Purchase History

Use this to list all domain purchases made by a user.

// See documentation to set up the client first

let partnerApi = new superlink.PartnerApi();

partnerApi.partnerPurchases((error, data, response) => {
  if (error) {
    console.error(error);
  } else {
    console.log('API called successfully. Returned data: ' + data);
  }
});