Install
openclaw skills install skill-amazon-spapiClawHub Security found sensitive or high-impact capabilities. Review the scan results before using.
Amazon SP-API skill for OpenClaw agents. Fetch orders, check FBA inventory, manage listings and pricing. Works with any marketplace and seller account.
openclaw skills install skill-amazon-spapiFetch orders, check FBA inventory, and manage listings — plug-and-play for any OpenClaw agent.
npm install amazon-sp-api
{
"lwaClientId": "amzn1.application-oa2-client.YOUR_CLIENT_ID",
"lwaClientSecret": "YOUR_CLIENT_SECRET",
"refreshToken": "Atzr|YOUR_REFRESH_TOKEN",
"region": "eu",
"marketplace": "YOUR_MARKETPLACE_ID",
"sellerId": "YOUR_SELLER_ID"
}
Save as amazon-sp-api.json. Set AMAZON_SPAPI_PATH env var to point to it (default: ./amazon-sp-api.json).
Regions:
na|eu|feMarketplace IDs: Full list
auth.js — Test Connectionnode scripts/auth.js
orders.js — Ordersnode scripts/orders.js --list # last 7 days
node scripts/orders.js --list --days 30
node scripts/orders.js --list --status Unshipped
node scripts/orders.js --list --out orders.json
node scripts/orders.js --get ORDER-ID
inventory.js — FBA Inventorynode scripts/inventory.js
node scripts/inventory.js --sku "MY-SKU"
node scripts/inventory.js --out inventory.json
listings.js — Listings & Pricingnode scripts/listings.js --get "MY-SKU"
node scripts/listings.js --update "MY-SKU" --price 99.00
node scripts/listings.js --update "MY-SKU" --price 99.00 --currency USD
chmod 600