SkillHub

skill-dropshipping-sourcing

v1.0.2

Query CJ Dropshipping API v2.0 to source products and fetch details for catalog building. Use for CJ keyword search, pulling product records (SPU/SKU, images, categories, variants/colors when available), refreshing access tokens, and producing normalized JSON outputs for dropshipping catalog automat...

Sourced from ClawHub, Authored by Zero2Ai

Installation

Please help me install the skill `skill-dropshipping-sourcing` from SkillHub official store. npx skills add Zero2Ai-hub/skill-dropshipping-sourcing

CJ Sourcing

Use this skill to reliably pull CJ product data (instead of manual browsing).

Files / creds (local convention)

  • Config: ./cj-api.json
  • apiKey, baseUrl, accessToken, tokenExpiry

1) Refresh access token

node scripts/token.js

2) Search products by keyword (listV2)

node scripts/source.js --keyword "sunset lamp" --size 20 --out cj-results.json

Output: cj-results.json with normalized fields.

Notes

  • Token refresh is conservative (refreshes ~10 minutes before expiry).
  • source.js uses GET /product/listV2 and requests enable_description + category fields.