Bỏ qua tới nội dung
TakoAPI
Quay lại kỹ năng

clawpify

bởi alhwyn

Shopping & E-commerce
1.7kLượt tải do clawskills.sh công bố
6Sao
0Lượt xem
0 lượt thíchĐăng nhập để thích kỹ năng này
—Chưa có đánh giá
Đánh giá của bạn

Tóm tắt

Query and manage Shopify stores via GraphQL Admin API.

Mô tả

Kỹ năng này làm gì

Queries and manages Shopify store data through the GraphQL Admin API. Covers products, orders, customers, inventory, discounts, collections, fulfillments, and more. Destructive operations like refunds, cancellations, and inventory adjustments require explicit user confirmation before executing.

GraphQL lets you request only the fields you need, so responses stay small and queries stay fast compared to REST endpoints that return fixed data shapes.

Khi nào nên dùng

  • Searching active products by title or tag
  • Adjusting inventory levels across store locations
  • Creating and managing discount codes for promotions
  • Exporting bulk customer or order data

Quy trình ví dụ

ĐẦU VÀO

User asks: Show me the 10 most recent orders with customer names and totals

AGENT
  1. 1

    Builds a GraphQL query selecting id, name, totalPriceSet, and customer.displayName fields

  2. 2

    Calls shopify_graphql with sortKey CREATED_AT and reverse: true to get newest first

  3. 3

    Checks the response for errors and userErrors arrays

  4. 4

    Formats the returned order nodes into a readable list for the user

ĐẦU RA

A list of the 10 most recent orders showing order name, customer, and total price

Yêu cầu

  • Shopify store (any plan)
  • Shopify Admin API access token with appropriate scopes

Cài đặt

clawhub install alhwyn/clawpify

Chạy lệnh CLI, hoặc dán prompt vào Claude Code, Cursor, Codex hay coding agent bạn đang dùng.

Liên kết