Logo Bc Orders

Bc Orders

Tổ chức
OrcaQubits
bc-orders

Work with BigCommerce orders — order lifecycle, statuses, line items, shipments, refunds, order metafields, and fulfillment. Use when building order management integrations or processing orders programmatically.

Tổng quan

Nhà phát hànhOrcaQubits
Kho mãagentic-commerce-skills-plugins
Tên kỹ năngbc-orders
Sao
40
Bản fork
17
Tệp đi kèm
Chỉ có hướng dẫn
Giấy phépMIT
Liên kết
  • Hướng dẫn bằng Markdown

    Tệp SKILL.md được mô hình tải khi cần, nên chỉ tốn token khi có yêu cầu thực sự phù hợp.

  • Dùng được với mọi LLM

    Kỹ năng AI là Markdown thuần túy, không phải mã dành riêng cho một nhà cung cấp, nên dùng được với GPT, Claude, Gemini, Grok hoặc mô hình cục bộ.

  • Đầy đủ trong hướng dẫn

    Mọi thứ mô hình cần đều nằm trong hướng dẫn — không có tệp bổ sung cần đồng bộ.

  • Mã nguồn mở

    Được OrcaQubits công bố trên GitHub. Hãy đọc nội dung nguồn trước khi cài đặt.

Cài đặt

Cài đặt kỹ năng AI Bc Orders trong TypingMind để dùng với bất kỳ LLM nào, hoặc thêm vào một tác nhân AI khác có thể đọc SKILL.md.

1

Cài đặt trong TypingMind

TypingMind cài đặt kỹ năng trực tiếp từ thư mục GitHub — đọc SKILL.md, đóng gói các tệp tài nguyên và lưu kết quả trên máy.

  1. Mở ứng dụng và vào Plugin → Kỹ năng.
  2. Chọn "Cài đặt từ GitHub".
  3. Dán URL thư mục kỹ năng bên dưới và xác nhận.
    https://github.com/OrcaQubits/agentic-commerce-skills-plugins/tree/main/bigcommerce-commerce/skills/bc-orders
  4. Bật kỹ năng trong từng cuộc trò chuyện mà bạn muốn sử dụng kỹ năng đó.
Plugin → Kỹ năng → Thêm kỹ năng → Từ URL GitHub, sau đó dán URL thư mục và nhấn Tiếp tục.
2

Cài đặt trong tác nhân AI khác

Bất kỳ tác nhân AI nào đọc được định dạng Agent Skills đều có thể dùng kỹ năng này — hãy sao chép thư mục vào thư mục kỹ năng của tác nhân 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-orders .claude/skills/bc-orders
Khởi động lại Claude Code sau khi sao chép để ứng dụng nhận kỹ năng mới.

Sử dụng trong TypingMind

Bật Bc Orders trong bất kỳ cuộc trò chuyện nào trên TypingMind, mô hình sẽ tự xử lý phần còn lại. Tên và mô tả của kỹ năng nằm trong prompt hệ thống. Ngay khi có yêu cầu phù hợp, mô hình tự tải toàn bộ hướng dẫn — bạn không cần gọi thủ công và kỹ năng không tốn token cho đến khi thực sự được dùng.

Mô hình tự tải Bc Orders ngay khi có yêu cầu phù hợp.

Dùng được với mọi mô hình AI

Kỹ năng AI là các hướng dẫn Markdown thuần túy, không phải mã dành riêng cho một nhà cung cấp, nên Bc Orders không bị giới hạn ở mô hình mà kỹ năng này được viết cho. Chỉ cần cài đặt một lần trong TypingMind rồi dùng với GPT-5, Claude, Gemini, Grok, DeepSeek, Mistral, Llama hoặc mô hình cục bộ do bạn tự chạy — tất cả đều dùng khóa API của riêng bạn.

  • Chỉ tải khi cần

    Prompt hệ thống chỉ chứa tên và mô tả. Hướng dẫn được tải khi có yêu cầu phù hợp đầu tiên, nên kỹ năng chưa dùng không tốn chi phí.

  • Đổi mô hình ngay trong cuộc trò chuyện

    Vì kỹ năng là hướng dẫn chứ không phải mã, việc đổi mô hình không làm kỹ năng ngừng hoạt động — mô hình tiếp theo vẫn đọc cùng tệp SKILL.md.

Hướng dẫn của kỹ năng

Đây là nội dung SKILL.md mà mô hình tải. Hãy đọc trước khi cài đặt — kỹ năng là những hướng dẫn mà mô hình của bạn sẽ làm theo.

BigCommerce Order Management

Before writing code

Fetch live docs:

  1. Web-search site:developer.bigcommerce.com rest orders for Orders API reference
  2. Web-search bigcommerce order api v2 v3 for endpoint availability
  3. Web-search bigcommerce order status list for status definitions

API Endpoints

V2 Orders (Primary)

Orders are primarily managed via V2 API:

EndpointMethodsDescription
/v2/ordersGET, POST, PUTOrders CRUD
/v2/orders/{id}/productsGETOrder line items
/v2/orders/{id}/shipping_addressesGETShipping addresses
/v2/orders/{id}/couponsGETApplied coupons
/v2/orders/{id}/shipmentsGET, POST, PUT, DELETEShipments
/v2/orders/{id}/taxesGETTax details
/v2/order_statusesGETAvailable order statuses

V3 Order Extensions

EndpointDescription
/v3/orders/{id}/metafieldsOrder metafields
/v3/orders/{id}/payment_actionsPayment actions (capture, void)
/v3/orders/settingsOrder-level settings
/v3/orders/{id}/transactionsPayment transactions

Order Lifecycle

Status Flow

Incomplete → Pending → Awaiting Payment → Awaiting Fulfillment
    → Partially Shipped → Shipped → Completed
    → Awaiting Pickup → Picked Up
    → Cancelled / Declined / Refunded / Disputed

Standard Statuses

IDStatusDescription
0IncompleteCheckout not completed
1PendingAwaiting processing
2ShippedAll items shipped
3Partially ShippedSome items shipped
4RefundedFully refunded
5CancelledOrder cancelled
6DeclinedPayment declined
7Awaiting PaymentPayment not yet received
8Awaiting PickupReady for customer pickup
9Awaiting ShipmentAwaiting fulfillment
10CompletedOrder completed
11Awaiting FulfillmentReady to be fulfilled
12Manual Verification RequiredPayment needs manual review
13DisputedPayment dispute opened
14Partially RefundedPartial refund issued

Custom Statuses

Create custom statuses via admin or API — they map to one of the standard status groups for reporting.

Order Structure

Order Fields

Key fields returned by GET /v2/orders/{id}:

  • id — order number
  • status_id — current status
  • status — status label
  • subtotal_inc_tax, subtotal_ex_tax
  • total_inc_tax, total_ex_tax
  • discount_amount
  • shipping_cost_inc_tax, shipping_cost_ex_tax
  • items_total — total number of items
  • payment_method — payment provider
  • currency_code
  • billing_address — billing address object
  • customer_id — associated customer
  • date_created, date_modified

Line Items

GET /v2/orders/{id}/products returns:

  • product_id, variant_id
  • name, sku, quantity
  • price_inc_tax, price_ex_tax
  • total_inc_tax, total_ex_tax
  • product_options — selected options

Creating Orders

Server-Side Order Creation

POST /v2/orders with:

  • customer_id or billing_address
  • products array with product_id, quantity, and optionally price_inc_tax
  • status_id
  • shipping_addresses array

Useful for: POS integrations, phone orders, order imports.

Shipments

Creating Shipments

POST /v2/orders/{id}/shipments:

json
{
  "tracking_number": "1Z999AA10123456784",
  "shipping_method": "UPS Ground",
  "shipping_provider": "ups",
  "items": [
    { "order_product_id": 15, "quantity": 1 }
  ]
}

Shipment Flow

  1. Create shipment with tracking info and items
  2. Order status auto-updates to "Partially Shipped" or "Shipped"
  3. Customer receives shipping notification email
  4. Tracking info displayed in customer order history

Refunds

Creating Refunds

POST /v3/orders/{id}/payment_actions/refund:

json
{
  "items": [
    {
      "item_type": "PRODUCT",
      "item_id": 123,
      "quantity": 1,
      "reason": "Customer requested return"
    }
  ]
}

Refund Types

  • Full refund — refund the entire order amount
  • Partial refund — refund specific items or custom amount
  • Line-item refund — refund specific products with quantities

Order Metafields

Store custom data on orders (V3):

  • POST /v3/orders/{id}/metafields
  • Used for: external IDs, fulfillment notes, integration data
  • namespace + key = unique per order

Querying Orders

Filters

  • min_id / max_id — ID range
  • min_date_created / max_date_created — date range
  • status_id — filter by status
  • customer_id — filter by customer
  • email — filter by customer email
  • payment_method — filter by payment provider
  • is_deleted — include/exclude deleted orders

Pagination

V2 uses page and limit parameters, plus Link headers for navigation.

Best Practices

  • Use webhooks (store/order/created, store/order/statusUpdated) for real-time order processing
  • Fetch order details via API after receiving webhook (webhooks only contain the order ID)
  • Handle all order statuses — don't assume a linear flow
  • Use metafields for integration-specific data, not order notes
  • Create shipments with tracking info for best customer experience
  • Process refunds through the API for accurate financial records
  • Implement idempotency — check if an order was already processed before acting

Fetch the BigCommerce Orders API reference for exact endpoint paths, request/response schemas, and status definitions before implementing.

Câu hỏi thường gặp

Kỹ năng AI Bc Orders làm được gì?

Work with BigCommerce orders — order lifecycle, statuses, line items, shipments, refunds, order metafields, and fulfillment. Use when building order management integrations or processing orders programmatically.

Vì sao nên dùng Bc Orders trên TypingMind?

Vì bạn chỉ cần cài một lần rồi dùng với bất kỳ mô hình nào. Bc Orders là nội dung Markdown chứ không phải mã dành riêng cho từng nhà cung cấp, nên cùng một kỹ năng có thể chạy trên GPT-5, Claude, Gemini, Grok hoặc mô hình trên thiết bị — và bạn có thể đổi mô hình ngay trong cuộc trò chuyện mà kỹ năng vẫn hoạt động. TypingMind dùng khóa API riêng của bạn, nên bạn thanh toán trực tiếp cho nhà cung cấp thay vì trả phí thuê bao theo suất người dùng, đồng thời kỹ năng và các cuộc trò chuyện vẫn nằm trong bộ lưu trữ của bạn.

Làm thế nào để cài Bc Orders trong TypingMind?

Mở Plugin → Kỹ năng → Cài đặt từ GitHub trong TypingMind rồi dán https://github.com/OrcaQubits/agentic-commerce-skills-plugins/tree/main/bigcommerce-commerce/skills/bc-orders. TypingMind đọc tệp SKILL.md và cài đặt thành một kỹ năng mà bạn có thể bật cho từng cuộc trò chuyện.

Những mô hình AI nào có thể dùng Bc Orders?

Bất kỳ mô hình nào bạn kết nối trong TypingMind. Kỹ năng AI là các hướng dẫn bằng Markdown chứ không phải mã dành riêng cho từng nhà cung cấp, nên GPT, Claude, Gemini, Grok và các mô hình chạy trên thiết bị đều có thể tải kỹ năng này khi có yêu cầu phù hợp.

Bạn có thể dùng Bc Orders với bao nhiêu mô hình AI?

Bao nhiêu cũng được. Miễn là mô hình hỗ trợ kỹ năng, bạn có thể dùng Bc Orders với mô hình đó — GPT, Claude, Gemini, Grok, DeepSeek, Mistral, Llama và nhiều mô hình khác — tất cả đều trên TypingMind với khóa API riêng của bạn.

Kỹ năng AI Bc Orders có miễn phí không?

Có. Kỹ năng này được OrcaQubits phát hành trên GitHub theo giấy phép MIT. Bạn chỉ trả tiền cho nhà cung cấp AI của mình theo số token đã dùng.

Kỹ năng AI là gì?

Kỹ năng AI là một gói hướng dẫn có thể tái sử dụng, chỉ cho mô hình AI cách thực hiện một tác vụ cụ thể. Kỹ năng tuân theo định dạng mở Agent Skills: một tệp SKILL.md chứa tên và mô tả, cùng các tập lệnh, mẫu hoặc tệp tham khảo mà mô hình có thể cần. Mô hình chỉ đọc hướng dẫn khi yêu cầu của bạn phù hợp với kỹ năng, nên kỹ năng đã cài đặt không phát sinh chi phí cho đến khi được sử dụng.

Kỹ năng AI khác gì với plugin hoặc máy chủ MCP?

Plugin hoặc máy chủ MCP cung cấp cho mô hình các công cụ mới để gọi — mã được chạy ở đâu đó và trả về kết quả. Còn kỹ năng AI cung cấp kiến thức và quy trình: cách tiếp cận tác vụ, các bước cần thực hiện và tiêu chí của đầu ra tốt. Kỹ năng chỉ là nội dung Markdown, nên không cần máy chủ, khóa API hay môi trường thực thi và hoạt động với mọi mô hình.

Xem tất cả

Tạo ngay không gian làm việc AI riêng

Đăng ký bản tin của chúng tôi để nhận thông báo về tính năng mới và các đợt tặng quà sắp tới 👇