@fluid-app/fluid-cli-channels
v0.1.42
Published
Fluid CLI plugin for sales channels — connect TikTok Shop, Meta, or Google Merchant Center, choose which products to list, check sync status, and disconnect
Readme
@fluid-app/fluid-cli-channels
Fluid CLI plugin for sales channels: connect TikTok Shop, Meta (Facebook and Instagram catalogs), or Google Merchant Center to a Fluid company, choose which products to list, check how they synced, and disconnect.
npm install -g @fluid-app/fluid-cli @fluid-app/fluid-cli-channels
fluid login
fluid channels walk tiktok # interactive: connect, pick products, fix issues
fluid channels list # which channels are connected
fluid channels connect tiktok --open # print (and open) the sign-in URL
fluid channels status tiktok # connection + listing counts
fluid channels warehouse tiktok 7301234567 --yes # TikTok only: the warehouse to publish from
fluid channels catalog tiktok --all --yes # every active product not already listed
fluid channels catalog tiktok --all --collection 12 --yes
fluid channels catalog tiktok --add 101,102 --yes # only these products
fluid channels catalog tiktok --remove 102 --yes
fluid channels catalog tiktok # list the listings
fluid channels issues tiktok # failed or rejected listings, with fixes
fluid channels issues tiktok --retry --yes # retry the failed publishes
fluid channels catalog tiktok --remove-all --yes # take every product off the channel
fluid channels disconnect tiktok --yesChannels: tiktok, meta, google.
walk is the interactive way through a whole setup in a terminal. It picks
the channel (showing which are connected), prints and opens the sign-in link
and checks the connection once you've approved, sets TikTok's warehouse,
offers the whole catalog, whole collections, or products picked from a
searchable list, and retries failed publishes. Type < to go back, > to
skip a stage, and ? for the menu; every change asks before it runs. Scripts
and agents use the other commands instead.
- Connecting needs a person in a browser:
connectprints the channel's sign-in URL (--openopens it). After they approve, the channel sends them back to Fluid, which saves the connection. Check it withstatus. --alladds the active products that exist now. Products you create later aren't added automatically; run it again to add them. It skips products you removed earlier unless you pass--include-removed.- Disconnecting doesn't take products off the channel. Run
catalog <channel> --remove-all --yesfirst if you want them gone.
Every command prints JSON; failures print a JSON error on stderr and exit
non-zero. Commands that change live configuration ask for confirmation unless
you pass --yes. The walkthroughs are the guided setups at
https://docs.fluid.app/setup/overview.
