You're Invited:Meet the Socket Team at RSAC and BSidesSF 2026, March 23–26.RSVP
Socket
Book a DemoSign in
Socket

@versatly/clovercli

Package Overview
Dependencies
Maintainers
1
Versions
4
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@versatly/clovercli

Powerful CLI for Clover POS API - inventory, orders, payments, analytics

Source
npmnpm
Version
1.0.0
Version published
Weekly downloads
2
100%
Maintainers
1
Weekly downloads
 
Created
Source

CloverCLI

A powerful command-line interface for Clover POS API integration. Manage inventory, orders, payments, customers, employees, and get comprehensive business analytics.

Installation

git clone https://github.com/Versatly/clovercli.git
cd clovercli
npm install
npm run build

Quick Start

# Set your credentials
export CLOVER_ACCESS_TOKEN="your-access-token"
export CLOVER_MERCHANT_ID="your-merchant-id"

# Check connection
node dist/index.js merchant get

# Get business dashboard
node dist/index.js reports summary

Commands

CommandDescription
authOAuth login, token management
merchantGet merchant information
inventoryItems, categories, stock management
ordersCreate, list, update, delete orders
paymentsList payments, process refunds
customersCustomer CRUD operations
employeesList and view employees
reportsComprehensive analytics suite
apiRaw API access for custom queries

Reports & Analytics

# Quick dashboard
clovercli reports summary

# Sales by date range
clovercli reports sales --from 2026-01-01 --to 2026-01-31

# Daily breakdown
clovercli reports daily --from 2026-01-01 --to 2026-01-31

# Hourly sales with visual chart
clovercli reports hourly

# Best selling items
clovercli reports top-items --limit 20

# Payment method breakdown
clovercli reports payments

# Refund summary
clovercli reports refunds

# Tax collected
clovercli reports taxes

# Export data
clovercli reports export orders --output orders.csv --format csv
clovercli reports export items --output items.json

Environment Variables

VariableRequiredDescription
CLOVER_ACCESS_TOKENYesAPI access token
CLOVER_MERCHANT_IDYesMerchant ID
CLOVER_REGIONNous (default), eu, la, sandbox

Output Formats

All list commands support multiple output formats:

# Table view (default)
clovercli orders list

# JSON output
clovercli orders list --output json

# IDs only (quiet mode)
clovercli orders list --quiet

Raw API Access

Access any Clover API endpoint directly:

clovercli api get '/v3/merchants/{mId}/tax_rates'
clovercli api get '/v3/merchants/{mId}/tenders'
clovercli api post '/v3/merchants/{mId}/orders' --data '{"total": 1000}'

The {mId} placeholder is automatically replaced with your merchant ID.

Regions

RegionAPI Endpoint
usapi.clover.com
euapi.eu.clover.com
laapi.la.clover.com
sandboxapisandbox.dev.clover.com

Development

# Build
npm run build

# Run directly
node dist/index.js --help

# Watch mode (requires nodemon)
npm run dev

License

MIT

Author

Versatly Holdings

Keywords

clover

FAQs

Package last updated on 04 Feb 2026

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts