Yahav Posted September 25, 2020 Share Posted September 25, 2020 (edited) I'm currently developing an addon module in which i'll need to programmatically add to a specific product/service the client has an addon product. However i was not able to find any documentation on how this can be achived, the API doesn't have any method that will allow such task. Any ideas how would i go about doing that? EDIT: Ok, i've figured out that i can use the AddOrder API method to add an addon to a specific service id (https://developers.whmcs.com/api-reference/addorder/) Now i'm struggling with getting that addon domain field to be set. the addon i'm trying to assign is a cpanel/hosting package, it has a Domain custom field and so i tried using the customfields parameter with the api call, however this doesn't seem to work. Edited September 25, 2020 by Yahav 0 Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.