WHMCS icon

WHMCS

Interact with the WHMCS billing & automation API

Client → Get Client's Products

AI-generated

Summary

Fetch client products

Inputs

  • clientid (required) — Numeric ID of the client; leave 0 to look up by email instead.
  • customParameters — Additional WHMCS API parameters not covered by other fields; names must match the API reference exactly.

Output shape

array of product objects

Each object contains product details such as productid, name, pid, and other fields. Pagination can limit results via limitnum/returnAll.

Examples

Example 1: Get products for client ID 123

Resource = client, Operation = getProducts, Client ID = 123, Custom Parameters left empty

Links

Discussion