Bc app dev

From OrcaQubits/agentic-commerce-skills-plugins · View interactive version

Bc app dev is an AI agent skill from the GitHub repository OrcaQubits/agentic-commerce-skills-plugins. Build BigCommerce apps — single-click apps, OAuth flow, app callbacks, connector apps, control panel integration, and App Marketplace submission. Use when creating integrations that install via the BigCommerce App Marketplace.

How to use this skill

Skill file

BigCommerce App Development

Before writing code

Fetch live docs:

  1. Fetch https://docs.bigcommerce.com/developer/docs/integrations/apps/introduction for the apps guide
  2. Web-search site:developer.bigcommerce.com apps guide auth for OAuth patterns
  3. Web-search bigcommerce single-click app tutorial for step-by-step implementation

App Types

Single-Click Apps

Apps installed from the BigCommerce App Marketplace:

Connector Apps

Simplified apps that don't embed UI in BigCommerce:

Scripts-Only Apps

Inject JavaScript into the storefront without a full app:

OAuth Flow

Installation Flow

  1. Merchant clicks "Install" — BigCommerce sends GET to your Auth Callback URL with code, scope, context
  2. Your server exchanges code for a permanent access_token via POST to https://login.bigcommerce.com/oauth2/token
  3. Store the access_token, store_hash, and scope for future API calls
  4. Return HTML that BigCommerce renders in the admin iframe

Load Callback

When the merchant opens your app in BigCommerce admin:

Uninstall Callback

When the merchant uninstalls:

Remove User Callback

When a specific user is removed from a multi-user store:

OAuth Token Exchange

Request

POST to https://login.bigcommerce.com/oauth2/token:

{
  "client_id": "your_client_id",
  "client_secret": "your_client_secret",
  "code": "temporary_auth_code",
  "scope": "store_v2_products store_v2_orders",
  "grant_type": "authorization_code",
  "redirect_uri": "https://your-app.com/auth/callback",
  "context": "stores/{store_hash}"
}

Response

{
  "access_token": "permanent_token",
  "scope": "store_v2_products store_v2_orders",
  "user": { "id": 123, "email": "merchant@example.com" },
  "context": "stores/abc123",
  "account_uuid": "..."
}

App Scopes

| Scope | Access |

|-------|--------|

| store_v2_products | Products, categories, brands |

| store_v2_orders | Orders, shipments |

| store_v2_customers | Customer data |

| store_v2_content | Pages, blog, redirects |

| store_v2_marketing | Coupons, gift certificates |

| store_v2_information | Store metadata |

| store_channel_settings | Channel/multi-storefront |

| store_cart | Cart operations |

| store_checkout | Checkout operations |

| store_payments | Payment processing |

| store_themes_manage | Theme operations |

Request minimum scopes necessary — principle of least privilege.

Control Panel Integration

Embedding in Admin

Your app loads in an iframe within the BigCommerce admin panel:

BigDesign Component Library

BigCommerce provides a React component library for admin UIs:

App Marketplace Submission

Requirements

Best Practices

Fetch the BigCommerce apps guide and OAuth documentation for exact callback parameters, JWT structure, and submission requirements before implementing.

Use this skill with your AI agent: Open on Skill Issue to copy, download, or add to your library. Works with Claude, ChatGPT, Gemini, Cursor, Windsurf and more.