Bc Api Restのロゴ

Bc Api Rest

組織
OrcaQubits
bc-api-rest

Use BigCommerce REST APIs — V2 and V3 endpoints, authentication, rate limiting, pagination, filtering, batch operations, and error handling. Use when integrating with BigCommerce data via REST API.

概要

公開者OrcaQubits
リポジトリagentic-commerce-skills-plugins
スキル名bc-api-rest
スター
40
フォーク
17
同梱ファイル
指示のみ
ライセンスMIT
リンク
  • Markdown形式の指示

    モデルが必要に応じて読み込むSKILL.mdファイルです。関連するリクエストがあったときだけトークンを消費します。

  • どのLLMでも利用可能

    AIスキルはプロバイダー固有のコードではなく、通常のMarkdownなので、GPT、Claude、Gemini、Grok、ローカルモデルで利用できます。

  • 指示だけで完結

    モデルに必要なものはすべて指示に含まれているため、別途同期するファイルはありません。

  • オープンソース

    OrcaQubitsがGitHubで公開しています。インストールする前にソースを確認してください。

インストール

AIスキルBc Api RestをTypingMindにインストールすれば、どのLLMでも利用できます。SKILL.mdを読み取れる別のAIエージェントに追加することもできます。

1

TypingMindにインストール

TypingMindはGitHubフォルダから直接スキルをインストールします。SKILL.mdを読み取り、リソースファイルをまとめてローカルに保存します。

  1. アプリを開き、「プラグイン」→「スキル」に移動します。
  2. 「GitHubからインストール」を選択します。
  3. 以下のスキルフォルダのURLを貼り付けて確定します。
    https://github.com/OrcaQubits/agentic-commerce-skills-plugins/tree/main/bigcommerce-commerce/skills/bc-api-rest
  4. スキルを利用したいチャットごとに、そのスキルを有効にしてください。
「プラグイン」→「スキル」→「スキルを追加」→「GitHubのURLから」を選択し、フォルダのURLを貼り付けて「続行」を押します。
2

別のAIエージェントにインストール

Agent Skills形式を読み取れるAIエージェントなら、このスキルを利用できます。フォルダをそのAIエージェントのスキルディレクトリにコピーしてください。

Claude Code — .claude/skills
git clone --depth 1 https://github.com/OrcaQubits/agentic-commerce-skills-plugins.git /tmp/agentic-commerce-skills-plugins
mkdir -p .claude/skills
cp -r /tmp/agentic-commerce-skills-plugins/bigcommerce-commerce/skills/bc-api-rest .claude/skills/bc-api-rest
コピー後、新しいスキルを読み込むためにClaude Codeを再起動してください。

TypingMindで使用

TypingMindのチャットでBc Api Restを有効にするだけで、あとはモデルが対応します。名前と説明がシステムプロンプトに含まれ、関連するリクエストがあると、モデルが指示の全文を自動で読み込みます。手動で呼び出す必要はなく、実際に使用されるまでトークンを消費しません。

関連するリクエストがあると、モデルが自動的にBc Api Restを読み込みます。

どのAIモデルでも利用可能

AIスキルはプロバイダー固有のコードではなく、通常のMarkdownで書かれた指示です。そのため、Bc Api Restは作成時に想定されたモデルに縛られません。TypingMindに一度インストールすれば、ご自身のAPIキーを使って、GPT-5、Claude、Gemini、Grok、DeepSeek、Mistral、Llama、またはご自身で実行するローカルモデルで利用できます。

  • 必要なときだけ読み込み

    システムプロンプトには名前と説明だけが含まれます。関連するリクエストが初めてあったときに指示を取得するため、未使用のスキルにはコストがかかりません。

  • チャットの途中でモデルを切り替え

    スキルはコードではなく指示なので、モデルを切り替えてもそのまま使えます。次のモデルも同じSKILL.mdを読み込みます。

スキルの指示

モデルが読み込むSKILL.mdの内容です。スキルはモデルが従う指示なので、インストールする前に確認してください。

BigCommerce REST API Development

Before writing code

Fetch live docs:

  1. Fetch https://docs.bigcommerce.com/developer/api-reference/rest/admin/management/abandoned-carts for REST API overview
  2. Web-search site:developer.bigcommerce.com rest-management for Management API reference
  3. Web-search bigcommerce api v3 rate limits pagination for rate limit details

API Architecture

Two API Versions

VersionBase URLNotes
V2/stores/{hash}/v2/Legacy — orders, some customer endpoints
V3/stores/{hash}/v3/Modern — most resources, JSON:API-like

V3 is preferred for all new development. V2 is still required for some resources that haven't been migrated.

Base URL

https://api.bigcommerce.com/stores/{store_hash}/v3/

The store_hash is found in the API Path when creating credentials.

Authentication

API Account Tokens

For server-to-server requests:

X-Auth-Token: {access_token}
Content-Type: application/json
Accept: application/json

OAuth Tokens

For apps using the OAuth flow — same header format, token obtained during installation.

Scopes

Tokens have scopes that control access:

  • store_v2_products / store_v2_products_read_only
  • store_v2_orders / store_v2_orders_read_only
  • store_v2_customers / store_v2_customers_read_only
  • store_v2_content, store_v2_marketing, store_v2_information
  • store_themes_manage, store_cart, store_checkout

Key V3 Endpoints

Catalog

EndpointMethodsDescription
/v3/catalog/productsGET, POST, PUT, DELETEProducts CRUD
/v3/catalog/products/{id}/variantsGET, POST, PUT, DELETEProduct variants
/v3/catalog/products/{id}/imagesGET, POST, PUT, DELETEProduct images
/v3/catalog/categoriesGET, POST, PUT, DELETECategories
/v3/catalog/brandsGET, POST, PUT, DELETEBrands
/v3/catalog/products/channel-assignmentsGET, PUTChannel product assignments

Orders (V2 — legacy but current)

EndpointMethodsDescription
/v2/ordersGET, POST, PUTOrders
/v2/orders/{id}/productsGETOrder line items
/v2/orders/{id}/shipmentsGET, POST, PUTShipments
/v2/orders/{id}/shipping_addressesGETShipping addresses

Customers

EndpointMethodsDescription
/v3/customersGET, POST, PUT, DELETECustomers CRUD
/v3/customers/addressesGET, POST, PUT, DELETECustomer addresses
/v3/customers/attribute-valuesGET, PUT, DELETECustomer attributes

Other Key Endpoints

EndpointDescription
/v3/channelsStorefronts/channels
/v3/cartsServer-side cart
/v3/checkoutsServer-side checkout
/v3/paymentsPayment processing
/v3/content/widgetsWidgets
/v3/themesTheme management
/v3/hooksWebhooks
/v3/storefront/api-tokenStorefront API tokens

Pagination

V3 Pagination

Query parameters:

  • page — page number (default 1)
  • limit — items per page (default 50, max 250)

Response includes meta.pagination:

json
{
  "data": [...],
  "meta": {
    "pagination": {
      "total": 250,
      "count": 50,
      "per_page": 50,
      "current_page": 1,
      "total_pages": 5
    }
  }
}

V2 Pagination

Uses Link header with rel="next" and rel="previous".

Filtering

V3 Query Parameters

  • id:in=1,2,3 — filter by multiple IDs
  • name:like=Widget%25 — partial name match
  • date_modified:min=2024-01-01 — date range
  • include=images,variants — include sub-resources
  • sort=name / sort=-date_created — sort ascending/descending
  • include_fields=name,price — select specific fields
  • exclude_fields=description — exclude specific fields

Rate Limiting

Default Limits

Typically 450 requests per 30-second window (varies by plan):

  • Standard: 150 requests/30s
  • Plus: 200 requests/30s
  • Pro: 400 requests/30s
  • Enterprise: 450+ requests/30s

Headers

  • X-Rate-Limit-Requests-Left — remaining requests in window
  • X-Rate-Limit-Time-Reset-Ms — ms until window resets
  • X-Rate-Limit-Requests-Quota — total requests allowed
  • HTTP 429 when exceeded — retry after reset

Best Practices for Rate Limits

  • Check X-Rate-Limit-Requests-Left before batches
  • Implement exponential backoff on 429 responses
  • Use batch endpoints where available
  • Cache responses that don't change frequently

Batch Operations

Some V3 endpoints support batch operations:

  • POST /v3/catalog/products — create multiple products (array)
  • PUT /v3/catalog/products — update multiple products (array)
  • DELETE /v3/catalog/products?id:in=1,2,3 — delete multiple

Error Handling

Response Format

json
{
  "status": 422,
  "title": "Unprocessable Entity",
  "type": "https://docs.bigcommerce.com/developer/api-reference/rest/overview",
  "errors": {
    "name": "Product name is required"
  }
}

Common Status Codes

CodeMeaning
200Success
201Created
204No Content (successful delete)
400Bad Request (invalid parameters)
401Unauthorized (invalid token)
403Forbidden (insufficient scope)
404Not Found
409Conflict (duplicate resource)
422Unprocessable Entity (validation error)
429Rate Limited
500Internal Server Error

Best Practices

  • Use V3 for all new development — V2 only where V3 equivalent doesn't exist
  • Include Accept: application/json and Content-Type: application/json headers
  • Use include to fetch sub-resources in one request (avoid N+1)
  • Use include_fields / exclude_fields to minimize response size
  • Implement rate limit handling with exponential backoff
  • Use batch endpoints for bulk operations
  • Cache read-heavy data that changes infrequently
  • Handle 429 responses gracefully — don't retry immediately

Fetch the BigCommerce REST API reference for exact endpoint paths, query parameters, request/response schemas, and current rate limits before implementing.

よくある質問

AIスキル「Bc Api Rest」では何ができますか?

Use BigCommerce REST APIs — V2 and V3 endpoints, authentication, rate limiting, pagination, filtering, batch operations, and error handling. Use when integrating with BigCommerce data via REST API.

TypingMindでBc Api Restを使うメリットは何ですか?

一度インストールすれば、どのモデルでも使えるからです。Bc Api Restはプロバイダー固有のコードではなく、通常のMarkdownで記述されているため、同じスキルをGPT-5、Claude、Gemini、Grok、ローカルモデルで利用できます。チャットの途中でモデルを切り替えても、そのまま使い続けられます。TypingMindは自分のAPIキーで動作するため、シート単位のサブスクリプションではなく、プロバイダーに直接料金を支払います。スキルとチャットは自分のストレージに保持されます。

TypingMindにBc Api Restをインストールするにはどうすればよいですか?

TypingMindで「プラグイン」→「スキル」→「GitHubからインストール」を開き、https://github.com/OrcaQubits/agentic-commerce-skills-plugins/tree/main/bigcommerce-commerce/skills/bc-api-restを貼り付けてください。TypingMindがSKILL.mdを読み込み、チャットごとに有効にできるスキルとしてインストールします。

Bc Api Restを使えるAIモデルはどれですか?

TypingMindに接続したどのモデルでも利用できます。AIスキルはプロバイダー固有のコードではなく、通常のMarkdownで書かれた指示です。そのため、GPT、Claude、Gemini、Grok、ローカルモデルのいずれも、リクエストが合致したときにこのスキルを読み込めます。

Bc Api Restは何個のAIモデルで使えますか?

数に制限はありません。スキルに対応したモデルであれば、GPT、Claude、Gemini、Grok、DeepSeek、Mistral、Llamaなど、どのモデルでもBc Api Restを利用できます。すべてTypingMind上で、自分のAPIキーを使って利用できます。

AIスキル「Bc Api Rest」は無料ですか?

はい。OrcaQubitsがGitHubでMITライセンスの下で公開しています。支払いが必要なのは、利用したトークンに対する、ご自身が契約するAIプロバイダーへの料金だけです。

AIスキルとは何ですか?

AIスキルは、特定のタスクの実行方法をAIモデルに教える、再利用可能な指示のセットです。オープンなAgent Skills形式に従い、名前と説明を含むSKILL.mdファイルに加え、モデルが必要とするスクリプト、テンプレート、参照ファイルで構成されます。モデルはリクエストがスキルに合致したときだけ指示を読み込むため、インストール済みのスキルも、使うまでは費用がかかりません。

AIスキルは、プラグインやMCPサーバーとどう違いますか?

プラグインやMCPサーバーは、モデルが呼び出せる新しいツールを提供します。ツールとは、どこかで実行され、結果を返すコードです。一方、AIスキルは、タスクへの取り組み方、従うべき手順、望ましい出力の例といった知識や進め方をモデルに伝えます。スキルは通常のMarkdownで記述されているため、サーバー、APIキー、実行環境は不要で、どのモデルでも利用できます。

すべて見る

今すぐ自分専用のAIワークスペースを作成

ニュースレターに登録すると、新機能や今後のプレゼント企画のお知らせが届きます👇