p202 landing-page list

List landing pages (pre-sell pages visitors see before the offer)

Web UISetup › Landing Pages
All commands

01Jobs it does

Each one is a real command line. Copy it, or open it in the builder below to change it.

Landing Pages

p202 landing-page list
Web UISetup › Landing Pages

02What 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 landing-page list
$ p202 landing-page list
aff_campaign_id  etag                                        landing_page_id  landing_page_id_public  landing_page_nickname  landing_page_type  landing_page_url                        leave_behind_page_url  user_id  version
---------------  ------------------------------------------  ---------------  ----------------------  ---------------------  -----------------  --------------------------------------  ---------------------  -------  ----------------------------------------
4                "d06e2ebaed73259a9fb7567b53e351b9263484ce"  3                335                     Pricing Page           0                  https://app.example.com/pricing                                1        d06e2ebaed73259a9fb7567b53e351b9263484ce
3                "b7c0acaf8e53a620f5c30e125b1ac00d8135e96a"  2                223                     Desk Configurator      0                  https://example.com/uk/desks/configure                         1        b7c0acaf8e53a620f5c30e125b1ac00d8135e96a
1                "ef96067cd5894ddb8f249bc7021164e3aba494bc"  1                212                     Spring Lookbook        0                  https://example.com/lookbook/spring                            1        ef96067cd5894ddb8f249bc7021164e3aba494bc
Total: 3 | Limit: 50 | Offset: 0
Real output · p202 1.9.77 · demo dataexit 0

03Build your command

Pick values and the command line writes itself, quoted and ready to paste.

p202 landing-page list

Set flags below; the command updates as you type.

04Flags

7 flags, plus the global flags every command takes.

FlagWhat it does
--aff-campaign-idstringFilter by campaign ID (from p202 campaign list)
--allboolFetch all rows across pages
--limit, -lstringMax results
--offset, -ostringPagination offset
--pagestringPage number
--resolve-namesboolResolve foreign key IDs to names
--url-containsstringOnly landing-pages with a URL containing this text (case-insensitive; searches every page; fields: landing_page_url, leave_behind_page_url)

05For agents

Running this from an agent

  • Read the same facts as JSON: p202 commands landing-page list --json.
  • With AI_AGENT, CLAUDECODE or another agent variable set, output is compact JSON and errors arrive on stderr as a JSON envelope with a hint.
  • Exit codes: 0 ok, 1 bad input, 2 auth, 3 network, 4 server error, 5 partial failure.
p202 commands landing-page list --json
{
  "path": "p202 landing-page list",
  "use": "list",
  "short": "List landing pages (pre-sell pages visitors see before the offer)",
  "runnable": true,
  "tasks": [
    {
      "run": "p202 landing-page list",
      "ui_pages": [
        "Setup › Landing Pages"
      ]
    }
  ],
  "flags": [
    {
      "name": "aff-campaign-id",
      "type": "string",
      "default": "",
      "usage": "Filter by campaign ID (from `p202 campaign list`)",
      "required": false
    },
    {
      "name": "all",
      "type": "bool",
      "default": "false",
      "usage": "Fetch all rows across pages",
      "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": "page",
      "type": "string",
      "default": "",
      "usage": "Page number",
      "required": false
    },
    {
      "name": "resolve-names",
      "type": "bool",
      "default": "false",
      "usage": "Resolve foreign key IDs to names",
      "required": false
    },
    {
      "name": "url-contains",
      "type": "string",
      "default": "",
      "usage": "Only landing-pages with a URL containing this text (case-insensitive; searches every page; fields: landing_page_url, leave_behind_page_url)",
      "required": false
    }
  ]
}