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 ------------------------- ----------- -------- ------------ ---------- ------- ---------- ------- ------------- ------- ------------ ------- ---------------- ------ ----------------------- ------------- ----------------- -------------- ------- Bakery Pre-orders / Local 6 1192 141 1792621535 48 1792621991 0 true api apikey:3abe706c5f6a009c ord-20048 1 Coffee Subscription / US 2 17 32 1792600626 2 1792618982 0 true api apikey:3abe706c5f6a009c ord-20002 1 Coffee Subscription / US 2 2093 32 1792599575 85 1792611561 0 true api apikey:3abe706c5f6a009c ord-20085 1 Spring Collection / US 1 995 78 1792606777 43 1792610762 0 true api apikey:3abe706c5f6a009c ord-20043 1 Free Trial to Paid / CA 5 834 0 1792608261 141 1792608829 0 trial_started 1 1 false goal goal:1:1 1 Standing Desk Launch / UK 3 2065 59 1792592051 83 1792607372 0 true api apikey:3abe706c5f6a009c ord-20083 1 Spring Collection / US 1 2377 146 1792595739 97 1792597344 0 true api apikey:3abe706c5f6a009c ord-20097 1 Free Trial to Paid / CA 5 205 29 1792585890 9 1792596206 0 true api apikey:3abe706c5f6a009c ord-20009 1 Coffee Subscription / US 2 1309 32 1792583843 53 1792589574 0 true api apikey:3abe706c5f6a009c ord-20053 1 Holiday Gift Cards / AU 7 135 225 1792580087 6 1792588984 0 true api apikey:3abe706c5f6a009c ord-20006 1 Total: 165 | Limit: 10 | Offset: 0 Warning: Showing 10 of 165 results. Use --all to fetch all.
$ p202 conversion list --limit 10 --json { "data": [ { "aff_campaign_name": "Bakery Pre-orders / Local", "campaign_id": 6, "click_id": 1192, "click_payout": 141, "click_time": 1792621535, "conv_id": 48, "conv_time": 1792621991, "deleted": 0, "event_name": null, "goal_id": null, "goal_version": null, "payable": true, "reverses_conv_id": null, "source": "api", "source_ref": "apikey:3abe706c5f6a009c", "superseded_by": null, "superseded_reason": null, "transaction_id": "ord-20048", "user_id": 1 }, { "aff_campaign_name": "Coffee Subscription / US", "campaign_id": 2, "click_id": 17, "click_payout": 32, "click_time": 1792600626, "conv_id": 2, "conv_time": 1792618982, "deleted": 0, "event_name": null, "goal_id": null, "goal_version": null, "payable": true, "reverses_conv_id": null, "source": "api", "source_ref": "apikey:3abe706c5f6a009c", "superseded_by": null, "superseded_reason": null, "transaction_id": "ord-20002", "user_id": 1 }, { "aff_campaign_name": "Coffee Subscription / US", "campaign_id": 2, "click_id": 2093, "click_payout": 32, "click_time": 1792599575, "conv_id": 85, "conv_time": 1792611561, "deleted": 0, "event_name": null, "goal_id": null, "goal_version": null, "payable": true, "reverses_conv_id": null, "source": "api", "source_ref": "apikey:3abe706c5f6a009c", "superseded_by": null, "superseded_reason": null, "transaction_id": "ord-20085", "user_id": 1 }, { "aff_campaign_name": "Spring Collection / US", "campaign_id": 1, "click_id": 995, "click_payout": 78, "click_time": 1792606777, "conv_id": 43, "conv_time": 1792610762, "deleted": 0, "event_name": null, "goal_id": null, "goal_version": null, "payable": true, "reverses_conv_id": null, "source": "api", "source_ref": "apikey:3abe706c5f6a009c", "superseded_by": null, "superseded_reason": null, "transaction_id": "ord-20043", "user_id": 1 }, { "aff_campaign_name": "Free Trial to Paid / CA", "campaign_id": 5, "click_id": 834, "click_payout": 0, "click_time": 1792608261, "conv_id": 141, "conv_time": 1792608829, "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": "Standing Desk Launch / UK", "campaign_id": 3, "click_id": 2065, "click_payout": 59, "click_time": 1792592051, "conv_id": 83, "conv_time": 1792607372, "deleted": 0, "event_name": null, "goal_id": null, "goal_version": null, "payable": true, "reverses_conv_id": null, "source": "api", "source_ref": "apikey:3abe706c5f6a009c", "superseded_by": null, "superseded_reason": null, "transaction_id": "ord-20083", "user_id": 1 }, { "aff_campaign_name": "Spring Collection / US", "campaign_id": 1, "click_id": 2377, "click_payout": 146, "click_time": 1792595739, "conv_id": 97, "conv_time": 1792597344, "deleted": 0, "event_name": null, "goal_id": null, "goal_version": null, "payable": true, "reverses_conv_id": null, "source": "api", "source_ref": "apikey:3abe706c5f6a009c", "superseded_by": null, "superseded_reason": null, "transaction_id": "ord-20097", "user_id": 1 }, { "aff_campaign_name": "Free Trial to Paid / CA", "campaign_id": 5, "click_id": 205, "click_payout": 29, "click_time": 1792585890, "conv_id": 9, "conv_time": 1792596206, "deleted": 0, "event_name": null, "goal_id": null, "goal_version": null, "payable": true, "reverses_conv_id": null, "source": "api", "source_ref": "apikey:3abe706c5f6a009c", "superseded_by": null, "superseded_reason": null, "transaction_id": "ord-20009", "user_id": 1 }, { "aff_campaign_name": "Coffee Subscription / US", "campaign_id": 2, "click_id": 1309, "click_payout": 32, "click_time": 1792583843, "conv_id": 53, "conv_time": 1792589574, "deleted": 0, "event_name": null, "goal_id": null, "goal_version": null, "payable": true, "reverses_conv_id": null, "source": "api", "source_ref": "apikey:3abe706c5f6a009c", "superseded_by": null, "superseded_reason": null, "transaction_id": "ord-20053", "user_id": 1 }, { "aff_campaign_name": "Holiday Gift Cards / AU", "campaign_id": 7, "click_id": 135, "click_payout": 225, "click_time": 1792580087, "conv_id": 6, "conv_time": 1792588984, "deleted": 0, "event_name": null, "goal_id": null, "goal_version": null, "payable": true, "reverses_conv_id": null, "source": "api", "source_ref": "apikey:3abe706c5f6a009c", "superseded_by": null, "superseded_reason": null, "transaction_id": "ord-20006", "user_id": 1 } ], "pagination": { "limit": 10, "offset": 0, "total": 165 } }
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, 6 no Pro licence on the install.
{
"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
}
]
}