mth-matt Posted February 28, 2020 Share Posted February 28, 2020 Hi. I need to update the client product from the data we receive back from an api, in an addon module. the updateClientProduct requires serviceid which is none existent when pulling the data back from whmcs using getClientsProducts function. We have setup a number of products, so how can we update the customfields without the serviceid? 0 Quote Link to comment Share on other sites More sharing options...
WHMCS Developer WHMCS Andrew Posted February 28, 2020 WHMCS Developer Share Posted February 28, 2020 The getClientsProducts API command returns an array of 'products' with an 'id' as the first parameter. See the example on the documentation page I linked to. This would be the service id that you need for the updateClientProduct API command. 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.