Source Parts CLIでより速く構築
コンポーネントに焦点を当てたコマンドラインツールキットで、調達ワークフロー全体をインストール、認証、自動化します。
環境用のCLIをインストール
1つのコマンドを使用してmacOS、Linux、またはWindowsにインストールし、Source Partsで認証します。
$ curl -fsSL https://source.parts/cli/install.sh | bashcopyNeed a different platform? Visit the GitHub repository for container images and build instructions.
数分で認証
Source Partsプラットフォーム全体で使用されているのと同じセキュリティ基準を適用します。
$ parts auth logincopyスコープAPIキーを生成
ロールベースの権限と自動有効期限を持つ環境ごとのキーを発行します。
最小特権スコープを割り当て
CLIプロファイルをSource Partsロールにマッピングして、読み取り、書き込み、承認アクセスを制御します。
キーローテーションを自動化
組み込みの更新コマンドとポリシーリマインダーを使用してスケジュールに従って資格情報をローテーションします。
Don't have an API key? Create one in your dashboard
コマンドリファレンス
調達、見積もり、フルフィルメントワークフローを支えるコアコマンドファミリーを探索します。
検索とインテリジェンス
数百万のコンポーネントをクエリし、ライフサイクルリスクを分析し、価格スナップショットをエクスポートします。
components search
Search the Source Parts catalog with filters for stock, manufacturer, compliance, and lifecycle status.
$ parts components search --query "stm32f4" --in-stockcopyinventory availability
Return regional inventory, lead times, and allocation windows in real time.
$ parts inventory availability --sku 100-443-ESP32 --region uscopycomponents lifecycle
Inspect lifecycle events, alternates, and risk signals for critical components.
$ parts components lifecycle --mpn ESP32-C3copy見積もりとコマース
見積もり、BOMアップロード、発注ワークフローを自動化します。
quotes create
Upload BOM files, apply pricing tiers, and generate shareable quotes.
$ parts quotes create --file ./bom.csv --customer-id 98213copyorders submit
Convert approved quotes to orders with payment terms and shipment preferences.
$ parts orders submit --quote Q-14233 --method net-30copyfulfillment track
Monitor fulfillment milestones, logistics updates, and delivery ETA.
$ parts fulfillment track --order SO-55821copy自動化と統合
CLIをCIパイプライン、スケジューラー、ダウンストリームシステムに接続します。
automation workflows run
Execute saved workflows that bundle multiple commands with approvals and notifications.
$ parts automation workflows run nightly-replenishmentcopyintegrations sync
Synchronize Source Parts data with ERP, PLM, or data warehouses.
$ parts integrations sync --target erpcopyaudit log export
Export command history with user, timestamp, and result metadata for compliance review.
$ parts audit log export --since 7d --format csvcopy自動化レシピ
環境に適応できるすぐに使えるサンプルでワークフローを開始します。
Sync BOM alternates
Update engineering alternates nightly and persist results to your PLM.
parts quotes bom-sync --project ${PROJECT_ID} | plmctl import --workspace hardwarecopyMonitor lifecycle risk
Schedule a job that flags lifecycle changes and sends alerts to Slack.
parts components lifecycle --mpn $1 --json | jq '.alerts[]' | slackctl send --channel sourcing-alertscopy
Gate releases in CI
Fail builds when BOM risk exceeds tolerance before merging to main.
parts automation evaluate --workflow ci-bom-check || exit 1copy
一度設定すればどこでも再利用
プロファイルにより、チームは秘密を安全に保ちながら接続を共有できます。
output.format
Control the default response format across commands (json, table, csv).
{"output": { "format": "table" }}copyprofile
Named profile used to scope credentials and default workspace settings.
{"default": "production"}copyworkspaceId
Source Parts workspace identifier used to fetch quotes, orders, and analytics.
{"workspaceId": "org-sp-enterprise"}copyよくある質問
ロールアウト、セキュリティ、日常業務に関する回答。
How quickly can we adopt the CLI?
Most teams install, configure profiles, and automate their first workflow within a single sprint.
Can we manage multiple environments?
Yes. Profiles isolate credentials for sandbox, staging, and production environments with a single config file.
Do CLI commands count against API rate limits?
CLI traffic honors the same rate limits as direct API usage and surfaces headers for monitoring.
Where do we get help if something fails?
Use the support portal for tickets or escalate via Slack channels included with paid plans.