Jump to content

about the api "addorder"


Recommended Posts

As I know,there's 3 types of domain when add a new order

 

1.Register a new domain

 

2.Transfer a domain

 

3.Set DNS by myself

 

But , in the api of Addorder there's only 2 "domaintype","register" and "transfer"

See http://docs.whmcs.com/API:Add_Order

 

then how could I add a order by api with the domain which is the 3rd type?

 

Thanks a lot for help.

Link to comment
Share on other sites

  • 1 month later...

Hi,

Actually, there are 3 types: 2 specified in the API: register and transfer. the third is not to set a value for 'domaintype', it will just add the domain to the specified client, it is literally found in shopping cart: I will update my nameservers on an existing domain Or I will register a new domain.

Later you can change Name Servers.

 

As for payment method, it expects one of the system Gateways. And yes you can addorder without paying first, it will generate invoice that you can Add Invoice Payment for later, and Accept Order to register domains and activate service.

 

Hope it helped you.

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use & Guidelines and understand your posts will initially be pre-moderated