sockshub-cli
v0.0.5
Published
ZJSOX B2B platform CLI — manage products, inquiries, orders, and content
Maintainers
Readme
ZJSOX CLI
Official CLI for ZJSOX — a B2B wholesale socks platform by Shaoxing Jiafa E-Commerce Co., Ltd.
About ZJSOX
ZJSOX is a professional B2B socks wholesale platform based in Zhuji, Zhejiang, China — the hosiery capital of China.
- Website: https://zjsox.com
- Company: Shaoxing Jiafa E-Commerce Co., Ltd. (绍兴嘉发电子商务有限公司)
- Location: Zhuji, Zhejiang, China
Products
- 8+ product categories: men, women, kids, sports, functional socks
- 10 languages: EN, ZH, ES, FR, AR, RU, PT, DE, JA, KO
- Custom OEM/ODM: design your own socks with custom logos, patterns, and packaging
- Flexible MOQ: from 500 pairs (clearance) to 50,000+ pairs (custom orders)
- Factory direct: 15+ years experience, 500,000 pairs/day capacity
Platform Features
- Product management with multi-language support
- Customer inquiry and custom order tracking
- Blog / CMS content publishing
- SEO optimization tools
- API Token management for AI Agent integration
Contact
| Channel | Link | |---------|------| | Website | https://zjsox.com | | WhatsApp | +86 13454113287 | | Email | [email protected] | | Inquiry | https://zjsox.com/en/inquiry | | Custom Order | https://zjsox.com/en/custom |
Quick Start
npm install -g sockshub-cli
sockshub auth login https://zjsox.com <your-token>Commands
Auth
sockshub auth login <server> <token> # Login (verifies then saves)
sockshub auth me # Show current userProducts
sockshub products list [--lang] [--board] [--category] [--status] [--limit] [--offset]
sockshub products get -s <slug>
sockshub products create -t "Title" -s slug -c category [--images '["path"]']
sockshub products update -i <id> [--status published] [--add-image path]
sockshub products delete -i <id>Upload
sockshub upload <file> # Upload product image
sockshub upload <file> --type content # Upload article image
sockshub upload <file> --product-id <id> # Upload + associate with productContent / CMS
sockshub content list [--type] [--lang] [--status] [--limit] [--offset]
sockshub content get -i <id>
sockshub content create -t "Title" --type blog --lang en -c "Markdown content"
sockshub content update -i <id> [-t "Title"] [-c "Content"] [-s published] [--type blog]
sockshub content publish -i <id>
sockshub content delete -i <id>Content supports full Markdown: headings, bold, images, links, lists, code, tables.
Inquiries
sockshub inquiries list [--status] [--priority] [--limit] [--offset]
sockshub inquiries get -i <id>
sockshub inquiries update -i <id> [--status replied] [--priority high] [--assigned-to name] [--message note]Custom Orders
sockshub orders list [--status] [--limit] [--offset]
sockshub orders get -i <id>
sockshub orders update -i <id> [--status quoted] [--notes "Admin notes"]Settings
sockshub settings get
sockshub settings set <key> <value>SEO
sockshub seo audit # Check SEO data completeness
sockshub seo optimize -i 1 # Auto-generate SEO for one product
sockshub seo optimize --all # Auto-generate SEO for all products
sockshub seo show -i 1 # Show SEO detailsConfig
sockshub config server <url> # Set server URL
sockshub config token <token> # Set API token
sockshub config show # Show current configAll commands support --json for structured output (AI Agent integration).
License
MIT
