01Run it
Replace the <placeholders> with your own values, or use the builder below.
p202 conversion list02What you get
Captured from the real binary, run against a demo store with 30 days of traffic. Switch tabs to see the same run as JSON, the shape scripts and agents parse.
$ p202 conversion list --limit 10 aff_campaign_name campaign_id click_id click_payout click_time conv_id conv_time deleted event_name goal_id goal_version payable reverses_conv_id source source_ref superseded_by superseded_reason transaction_id user_id ---------------------------- ----------- -------- ------------ ---------- ------- ---------- ------- ----------------- ------- ------------ ------- ---------------- ------ ----------------------- ------------- ----------------- -------------- ------- Free Trial to Paid / CA 5 1523 29 1791134540 166 1791540126 0 subscription_paid 2 1 true goal goal:2:1 1 Free Trial to Paid / CA 5 1717 29 1791449093 163 1791540126 0 subscription_paid 2 1 true goal goal:2:1 1 Coffee Subscription / US 2 1222 32 1791536774 53 1791539206 0 true api apikey:03d1792eddc570e9 ord-20053 1 Project Tool Pro Annual / US 4 1101 348 1791538698 46 1791539206 0 true api apikey:03d1792eddc570e9 ord-20046 1 Free Trial to Paid / CA 5 2899 0 1791482317 136 1791482993 0 trial_started 1 1 false goal goal:1:1 1 Coffee Subscription / US 2 1392 32 1791470569 60 1791479542 0 true api apikey:03d1792eddc570e9 ord-20060 1 Coffee Subscription / US 2 736 32 1791453094 27 1791459298 0 true api apikey:03d1792eddc570e9 ord-20027 1 Standing Desk Launch / UK 3 820 59 1791458659 33 1791459019 0 true api apikey:03d1792eddc570e9 ord-20033 1 Free Trial to Paid / CA 5 968 0 1791452225 121 1791453986 0 trial_started 1 1 false goal goal:1:1 1 Free Trial to Paid / CA 5 968 29 1791452225 40 1791452596 0 true api apikey:03d1792eddc570e9 ord-20040 1 Total: 166 | Limit: 10 | Offset: 0 Warning: Showing 10 of 166 results. Use --all to fetch all.
$ p202 conversion list --limit 10 --json { "data": [ { "aff_campaign_name": "Free Trial to Paid / CA", "campaign_id": 5, "click_id": 1523, "click_payout": 29, "click_time": 1791134540, "conv_id": 166, "conv_time": 1791540126, "deleted": 0, "event_name": "subscription_paid", "goal_id": 2, "goal_version": 1, "payable": true, "reverses_conv_id": null, "source": "goal", "source_ref": "goal:2:1", "superseded_by": null, "superseded_reason": null, "transaction_id": null, "user_id": 1 }, { "aff_campaign_name": "Free Trial to Paid / CA", "campaign_id": 5, "click_id": 1717, "click_payout": 29, "click_time": 1791449093, "conv_id": 163, "conv_time": 1791540126, "deleted": 0, "event_name": "subscription_paid", "goal_id": 2, "goal_version": 1, "payable": true, "reverses_conv_id": null, "source": "goal", "source_ref": "goal:2:1", "superseded_by": null, "superseded_reason": null, "transaction_id": null, "user_id": 1 }, { "aff_campaign_name": "Coffee Subscription / US", "campaign_id": 2, "click_id": 1222, "click_payout": 32, "click_time": 1791536774, "conv_id": 53, "conv_time": 1791539206, "deleted": 0, "event_name": null, "goal_id": null, "goal_version": null, "payable": true, "reverses_conv_id": null, "source": "api", "source_ref": "apikey:03d1792eddc570e9", "superseded_by": null, "superseded_reason": null, "transaction_id": "ord-20053", "user_id": 1 }, { "aff_campaign_name": "Project Tool Pro Annual / US", "campaign_id": 4, "click_id": 1101, "click_payout": 348, "click_time": 1791538698, "conv_id": 46, "conv_time": 1791539206, "deleted": 0, "event_name": null, "goal_id": null, "goal_version": null, "payable": true, "reverses_conv_id": null, "source": "api", "source_ref": "apikey:03d1792eddc570e9", "superseded_by": null, "superseded_reason": null, "transaction_id": "ord-20046", "user_id": 1 }, { "aff_campaign_name": "Free Trial to Paid / CA", "campaign_id": 5, "click_id": 2899, "click_payout": 0, "click_time": 1791482317, "conv_id": 136, "conv_time": 1791482993, "deleted": 0, "event_name": "trial_started", "goal_id": 1, "goal_version": 1, "payable": false, "reverses_conv_id": null, "source": "goal", "source_ref": "goal:1:1", "superseded_by": null, "superseded_reason": null, "transaction_id": null, "user_id": 1 }, { "aff_campaign_name": "Coffee Subscription / US", "campaign_id": 2, "click_id": 1392, "click_payout": 32, "click_time": 1791470569, "conv_id": 60, "conv_time": 1791479542, "deleted": 0, "event_name": null, "goal_id": null, "goal_version": null, "payable": true, "reverses_conv_id": null, "source": "api", "source_ref": "apikey:03d1792eddc570e9", "superseded_by": null, "superseded_reason": null, "transaction_id": "ord-20060", "user_id": 1 }, { "aff_campaign_name": "Coffee Subscription / US", "campaign_id": 2, "click_id": 736, "click_payout": 32, "click_time": 1791453094, "conv_id": 27, "conv_time": 1791459298, "deleted": 0, "event_name": null, "goal_id": null, "goal_version": null, "payable": true, "reverses_conv_id": null, "source": "api", "source_ref": "apikey:03d1792eddc570e9", "superseded_by": null, "superseded_reason": null, "transaction_id": "ord-20027", "user_id": 1 }, { "aff_campaign_name": "Standing Desk Launch / UK", "campaign_id": 3, "click_id": 820, "click_payout": 59, "click_time": 1791458659, "conv_id": 33, "conv_time": 1791459019, "deleted": 0, "event_name": null, "goal_id": null, "goal_version": null, "payable": true, "reverses_conv_id": null, "source": "api", "source_ref": "apikey:03d1792eddc570e9", "superseded_by": null, "superseded_reason": null, "transaction_id": "ord-20033", "user_id": 1 }, { "aff_campaign_name": "Free Trial to Paid / CA", "campaign_id": 5, "click_id": 968, "click_payout": 0, "click_time": 1791452225, "conv_id": 121, "conv_time": 1791453986, "deleted": 0, "event_name": "trial_started", "goal_id": 1, "goal_version": 1, "payable": false, "reverses_conv_id": null, "source": "goal", "source_ref": "goal:1:1", "superseded_by": null, "superseded_reason": null, "transaction_id": null, "user_id": 1 }, { "aff_campaign_name": "Free Trial to Paid / CA", "campaign_id": 5, "click_id": 968, "click_payout": 29, "click_time": 1791452225, "conv_id": 40, "conv_time": 1791452596, "deleted": 0, "event_name": null, "goal_id": null, "goal_version": null, "payable": true, "reverses_conv_id": null, "source": "api", "source_ref": "apikey:03d1792eddc570e9", "superseded_by": null, "superseded_reason": null, "transaction_id": "ord-20040", "user_id": 1 } ], "pagination": { "limit": 10, "offset": 0, "total": 166 } }
03Build your command
Pick values and the command line writes itself, quoted and ready to paste.
p202 conversion listSet flags below; the command updates as you type.
04Flags
9 flags, plus the global flags every command takes.
| Flag | What it does |
|---|---|
| --aff-campaign-idstring | Filter by campaign ID |
| --allbool | Fetch all rows across pages |
| --click-idstring | Only this click's conversions (see also p202 click conversions <id>) |
| --goalstring | Only this goal's outcomes, every version (goal id from p202 goal list) |
| --limit, -lstring | Max results |
| --offset, -ostring | Pagination offset |
| --sourcestring | Only conversions from this source: pixel, postback, universal_pixel, api, subid_upload, revenue_upload, legacy_pixel, clickbank, app_install, goal, legacy_baselinepixelpostbackuniversal_pixelapisubid_uploadrevenue_uploadlegacy_pixelclickbankapp_installgoallegacy_baseline |
| --time-fromstring | Start: unix seconds, a date (2026-10-01, from its first second in the account's timezone) or a time with its offset (2026-10-01T09:30:00Z) |
| --time-tostring | End, inclusive: unix seconds, a date (2026-10-01, through its last second in the account's timezone) or a time with its offset |
05For agents
Running this from an agent
- Read the same facts as JSON:
p202 commands conversion list --json. - With
AI_AGENT,CLAUDECODEor another agent variable set, output is compact JSON and errors arrive on stderr as a JSON envelope with ahint. - Exit codes: 0 ok, 1 bad input, 2 auth, 3 network, 4 server error, 5 partial failure.
{
"path": "p202 conversion list",
"use": "list",
"short": "List conversions",
"runnable": true,
"flags": [
{
"name": "aff-campaign-id",
"type": "string",
"default": "",
"usage": "Filter by campaign ID",
"required": false
},
{
"name": "all",
"type": "bool",
"default": "false",
"usage": "Fetch all rows across pages",
"required": false
},
{
"name": "click-id",
"type": "string",
"default": "",
"usage": "Only this click's conversions (see also `p202 click conversions <id>`)",
"required": false
},
{
"name": "goal",
"type": "string",
"default": "",
"usage": "Only this goal's outcomes, every version (goal id from `p202 goal list`)",
"required": false
},
{
"name": "limit",
"shorthand": "l",
"type": "string",
"default": "",
"usage": "Max results",
"required": false
},
{
"name": "offset",
"shorthand": "o",
"type": "string",
"default": "",
"usage": "Pagination offset",
"required": false
},
{
"name": "source",
"type": "string",
"default": "",
"usage": "Only conversions from this source: pixel, postback, universal_pixel, api, subid_upload, revenue_upload, legacy_pixel, clickbank, app_install, goal, legacy_baseline",
"allowed_values": [
"pixel",
"postback",
"universal_pixel",
"api",
"subid_upload",
"revenue_upload",
"legacy_pixel",
"clickbank",
"app_install",
"goal",
"legacy_baseline"
],
"required": false
},
{
"name": "time-from",
"type": "string",
"default": "",
"usage": "Start: unix seconds, a date (2026-10-01, from its first second in the account's timezone) or a time with its offset (2026-10-01T09:30:00Z)",
"required": false
},
{
"name": "time-to",
"type": "string",
"default": "",
"usage": "End, inclusive: unix seconds, a date (2026-10-01, through its last second in the account's timezone) or a time with its offset",
"required": false
}
]
}