Cogny CLI · E-commerce

    Wix read from the terminal.

    Pull Wix site analytics, store orders, products, contacts and coupons as JSON — from Bash over the Wix MCP. One API key + your Site ID, then every read is a shell command you can schedule.

    # 1. sign up (free for 15 calls) — uses your git email
    $ npx @cogny/cli init --agent claude-code
    
    # 2. see every Wix tool
    $ cogny tools list
    
    # 3. call any tool from Bash — no MCP wiring
    $ cogny tools call mcp__Wix__get_site_analytics --input '{…}'
    ❯ start Cogny Solo — $9/mo@cogny/cli on npm →

    cogny --who

    TWO PATHS
    You're a human

    Reviewing a Wix store means hopping between the Analytics dashboard, the Orders tab and the Contacts list, exporting CSVs from each. The CLI returns the same numbers as JSON in one call an agent can diff week over week. Connect Wix once in Cogny Solo and let your coding agent — or scheduled reports — do the querying for you.

    ❯ start Solo
    You're an agent

    Self-onboard with one command. The CLI issues a key, wires nothing, and exposes every Wix tool over JSON-RPC. First 15 calls are free.

    $ npx @cogny/cli init --agent claude-code

    cogny tools call

    3 EXAMPLES

    Real tool names from the Wix MCP. Send --input JSON, get JSON back.

    mcp__Wix__get_site_analyticsDaily sessions, sales and orders (Wix keeps 62 days).
    $ cogny tools call mcp__Wix__get_site_analytics \
      --input '{"start_date":"2026-06-15","end_date":"2026-07-15"}'
    example response
    {
      "data": [
        {
          "type": "TOTAL_SESSIONS",
          "total": 4812,
          "values": [
            {
              "date": "2026-06-15",
              "value": 161
            }
          ]
        },
        {
          "type": "TOTAL_SALES",
          "total": 20714.5,
          "values": [
            {
              "date": "2026-06-15",
              "value": 693.4
            }
          ]
        },
        {
          "type": "TOTAL_ORDERS",
          "total": 292,
          "values": [
            {
              "date": "2026-06-15",
              "value": 9
            }
          ]
        }
      ]
    }
    mcp__Wix__search_ordersFilter + cursor-paginate eCommerce orders.
    $ cogny tools call mcp__Wix__search_orders \
      --input '{"filter":{"paymentStatus":"PAID"},"sort":[{"fieldName":"createdDate","order":"DESC"}],"limit":2}'
    example response
    {
      "orders": [
        {
          "id": "a1b2…",
          "number": 10482,
          "createdDate": "2026-07-14T09:12:44Z",
          "priceSummary": {
            "total": {
              "amount": "89.00",
              "formattedAmount": "$89.00"
            }
          },
          "paymentStatus": "PAID",
          "fulfillmentStatus": "NOT_FULFILLED"
        },
        {
          "id": "c3d4…",
          "number": 10481,
          "createdDate": "2026-07-14T07:03:12Z",
          "priceSummary": {
            "total": {
              "amount": "134.50",
              "formattedAmount": "$134.50"
            }
          },
          "paymentStatus": "PAID",
          "fulfillmentStatus": "FULFILLED"
        }
      ],
      "metadata": {
        "count": 2,
        "cursors": {
          "next": "eyJ…"
        }
      }
    }
    mcp__Wix__query_contactsSearch CRM contacts (members, customers, form submitters).
    $ cogny tools call mcp__Wix__query_contacts \
      --input '{"search":"jane@acme.com","limit":1}'
    example response
    {
      "contacts": [
        {
          "id": "f9e8…",
          "createdDate": "2026-05-02T10:00:00Z",
          "info": {
            "name": {
              "first": "Jane",
              "last": "Doe"
            },
            "emails": {
              "items": [
                {
                  "email": "jane@acme.com"
                }
              ]
            }
          }
        }
      ],
      "pagingMetadata": {
        "count": 1,
        "total": 1
      }
    }

    cogny tools list

    MORE

    A sample of the rest of the Wix surface. Run cogny tools list --json for every tool and its input schema.

    mcp__Wix__get_ordermcp__Wix__query_productsmcp__Wix__search_products_v3mcp__Wix__query_coupons

    cogny --faq

    Is this an official Wix CLI?

    No — it is the Cogny CLI calling the Wix MCP over the cogny-mcp-proxy. You connect a Wix API key + Site ID once in Cogny, then read the site from Bash. Wix.com Ltd is not affiliated.

    Can it modify my site or store?

    No — this MCP is read-only by design. Only analytics, order, product, contact and coupon reads are registered; there are no write tools.

    How far back does site analytics go?

    Wix retains 62 days of analytics data, so get_site_analytics accepts a start date up to 61 days back. For longer history, schedule a weekly pull and let the report agent accumulate the series.

    My store is on the newer Wix catalog — which product tool do I use?

    query_products covers Catalog V1 (most existing stores); search_products_v3 covers Catalog V3 (newer stores). If one errors that the site uses the other catalog, switch tools — orders, analytics, contacts and coupons are unaffected.

    related CLIs

    /cli/shopify/cli/woocommerce/cli/ga4/cli/klaviyo

    Building an agent? The full tool map for all servers is one fetch: /cli/llms.txt