Author Topic: Using the API to create new orders, problem with registration contacts.  (Read 633 times)

0 Members and 1 Guest are viewing this topic.

Offline marcosran

  • 1
  • 0
  • New Member
  • *
Hi, we are trying to use the API to order new domain names. We do manage to create new users and domain registrations, but we've been unable to change the registration contacts of the domain name.
Unfortunately the API does not seem to have such an option. Updating the db (hb_domains, extended) does not seem to work either, as the data included there seems to be ignored. Any ideas?

Offline d4f

  • 130
  • 6
  • Community Managers
  • Active Participant
  • ****
Re: Using the API to create new orders, problem with registration contacts.
« Reply #1 on: December 15, 2017, 09:15:22 AM »
I have tried to reproduce your issue but updating hb_domains->extended with the corresponding serialized content works for me - at least it then shows the value in the admin panel and I assume it will apply it during domain registration.

Does it show the change correctly in the admin panel for you or does it show the default settings?
The latter could be the case if the content is not properly serialized (e.g. you forgot to update the length info when changing records manually).