Jump to content

links products from WHMcs to other WHMCS under username with rules ( only domains products )


Recommended Posts

Hello 

Can someone help me with this project please 

 

 

Hello,

Thank you for contacting WHMCS Support.

Yes, you could use the WHMCS API as there is a Remote API. The Remote API accepts POST requests to the API endpoint located at: https://www.yourdomain.com/path/to/whmcs/includes/api.php - Please review the Getting Started section of the WHMCS API developers documentation: https://developers.whmcs.com/api/getting-started/

Access to the API by default is restricted by IP or for situations where IP access control is not feasible, an Access Key can also be configured. Under the Configuration (wrench icon) > System Settings > General Settings > Security tab section, you can add and remove IPs, along with a note referencing who/what the IP is used for.

Please review the full API developer documentation here:
https://developers.whmcs.com/api/

Depending on what you are trying to accomplish you would use the command in the API Index:
https://developers.whmcs.com/api/api-index/

What is the best way to like the domains and prices to other WHMcs to make them appear as products to order?

For example, you could see if the GetProducts API command will work for what you are looking to accomplish. This command is to retrieve configured products matching the provided criteria in the API Request code. For more information on this command please review this documentation: https://developers.whmcs.com/api-reference/getproducts/

You would then use your own PHP code to organize the data returned and display it how you would like to.

I trust that gives you a good starting point for your customization. For further assistance customizing WHMCS, I’d recommend checking out our Developer Corner community. This is where our friendly and knowledgeable community members and developers help one another with customizing WHMCS beyond its core functionality: https://whmcs.community/community/41-developer-corner/

Regrettably, we are unable to assist with custom code or customizations here as part of WHMCS product technical support.
If we can assist with any core WHMCS software technical errors, please don’t hesitate to contact us back.

Kind regards,

 

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