π¦ ClawHub
BrickLink
by @odrobnik
BrickLink Store API helper/CLI (OAuth 1.0 request signing). Covers orders, store inventory (read + write), catalog, categories, colors, feedback, and push no...
TERMINAL
clawhub install bricklinkπ About This Skill
name: bricklink description: "BrickLink Store API helper/CLI (OAuth 1.0 request signing). Covers orders, store inventory (read + write), catalog, categories, colors, feedback, and push notifications." summary: "BrickLink Store API CLI: orders, inventory, catalog, pricing, feedback." version: 1.4.2 homepage: https://github.com/odrobnik/bricklink-skill metadata: openclaw: emoji: "π§±" requires: bins: ["python3"] env: ["BRICKLINK_CONSUMER_KEY", "BRICKLINK_CONSUMER_SECRET", "BRICKLINK_TOKEN_VALUE", "BRICKLINK_TOKEN_SECRET"]
BrickLink
Use scripts/bricklink.py.
Setup
See SETUP.md for prerequisites and setup instructions.
Commands
Read-only
bricklink.py get-orders [--direction in|out] [--status ...] [--include-status ...] [--exclude-status ...] [--filed true|false] - Lists orders you received or placed.bricklink.py get-order - Fetches details for a specific order.bricklink.py get-order-items - Fetches the item batches for a specific order.bricklink.py get-order-messages - Fetches messages associated with a specific order.bricklink.py get-order-feedback - Fetches feedback associated with a specific order.bricklink.py get-feedback [--direction in|out] - Lists feedback you received (in) or posted (out).bricklink.py get-feedback-item - Fetches a single feedback entry by id.bricklink.py get-notifications - Lists unread push notifications (/notifications).bricklink.py get-categories - Lists all catalog categories.bricklink.py get-category - Fetches a single category by id.bricklink.py get-colors - Lists all catalog colors.bricklink.py get-color - Fetches a single color by id.bricklink.py get-inventories [--item-type ...] [--status ...] [--category-id ...] [--color-id ...] - Lists your store inventory lots (supports include/exclude filters).bricklink.py get-inventory - Fetches a single inventory lot by id.bricklink.py get-item - Fetches a catalog item (PART/SET/MINIFIG/β¦).bricklink.py get-supersets [--color-id N] - Lists items that contain the specified item.bricklink.py get-subsets [--color-id N] [--box true|false] [--instruction true|false] [--break-minifigs true|false] [--break-subsets true|false] - Parts out an item into its included items.bricklink.py get-price-guide [--color-id N] [--guide-type stock|sold] [--new-or-used N|U] [--country-code XX] [--region ...] [--currency-code XXX] [--vat N|Y|O] - Fetches price guide statistics.bricklink.py get-known-colors - Lists known colors for a catalog item.Mutating
> Note: Order mutations (update-order, update-order-status, update-payment-status) only work for store orders (direction=out, where you are the seller). Purchases (direction=in) return 404 β the BrickLink API does not allow buyers to modify order status or file/archive incoming orders. Use the BrickLink website for those.
bricklink.py update-order [--remarks ...] [--is-filed true|false] [--shipping-...] [--cost-...] β Updates allowed order fields (tracking, remarks, shipping/cost fields). Store orders only.bricklink.py update-order-status β Updates the status of an order. Store orders only.bricklink.py update-payment-status β Updates the payment status of an order. Store orders only.bricklink.py send-drive-thru [--mail-me] β Sends a "Drive Thru" email for an order.bricklink.py post-feedback --order-id N --rating 0|1|2 [--comment ...] - Posts new feedback for an order.bricklink.py reply-feedback --reply "..." - Replies to feedback you received.bricklink.py create-inventory [--item-type ... --item-no ... --color-id N --quantity N --unit-price ... --new-or-used N|U ...] - Creates a single inventory lot from flags.bricklink.py create-inventory --file batch.json - Creates multiple inventory lots from a validated JSON file (workspace or /tmp only).bricklink.py update-inventory [--quantity N --unit-price ... --new-or-used N|U --remarks ...] - Updates an inventory lot.bricklink.py delete-inventory - Deletes an inventory lot.Utilities
bricklink.py order-detail-html [--out path] [--inline-images] - Fetches order+items and renders a compact HTML view (similar to BrickLink orderDetail.asp).βοΈ Configuration
See SETUP.md for prerequisites and setup instructions.