The following command will set the disk quota for the reseller "cpreseller" to 360 GB / 360000 MB:
whmapi1 setresellerlimits user=cpreseller diskspace_limit=360000 enable_resource_limits=1
You need to replace the "user" and the "diskspace_limit" values with the reseller's account name and the disk quota value in megabyte respectively.