gosse Posted November 11, 2014 Share Posted November 11, 2014 I'm trying to import all our accounting data in WHMCS. I'm using the external API. The problem is that I cannot add orders for customer services on specified date (i.e. the date the service was activated in first place). All orders are added on the current date. is there a workaround or am I missing something ? Any help is welcome. Thanks, Gosse 0 Quote Link to comment Share on other sites More sharing options...
jclarke Posted November 11, 2014 Share Posted November 11, 2014 After you place the order via the API it will return a list of productids, you could then run the updateclientproduct API call on each productid that is returned which allows you to specify the regdate and the nextduedate. http://docs.whmcs.com/API:Update_Client_Product 0 Quote Link to comment Share on other sites More sharing options...
gosse Posted November 11, 2014 Author Share Posted November 11, 2014 This did the trick. Thank you for the quick response. I had already started coding for direct DB update. 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.