How can we improve WHMCS?

Share, discuss and vote for what you would like to see added to WHMCS

API: GetOrders command lineitems should have product IDs when available

The WHMCS API GetOrders command is described in detail here:

For each lineitem in the response array, we have access only to relid. That variable resolves to the ID of the service which the order created, however it would also be nice to have the actual product ID, when available. As such this request is to have these variables included with each lineitem:

- relid: keep for legacy compatibility
- serviceid: the ID of the service that the order created, currently the same as relid
- pid: the ID of the product that the lineitem was created from (When available; domains don't have a pid)

Post the first comment

Login to post a comment.