From ucp-agentic-commerce
Implements UCP orders for post-purchase management: fulfillment tracking, adjustments (refunds/returns), and JWT-signed webhook delivery with key verification.
How this skill is triggered — by the user, by Claude, or both
Slash command
/ucp-agentic-commerce:ucp-orders-webhooksThis skill is limited to the following tools:
The summary Claude sees in its skill listing — used to decide when to auto-load this skill
**Fetch live spec**: Web-search `site:ucp.dev specification order` and fetch the page for the exact order data model, webhook envelope, and signature format.
Fetch live spec: Web-search site:ucp.dev specification order and fetch the page for the exact order data model, webhook envelope, and signature format.
Also fetch https://ucp.dev/specification/reference/ for adjustment types, fulfillment event types, and line item status derivation rules.
dev.ucp.shopping.order)Orders represent the post-purchase lifecycle. An order is created when a checkout completes successfully. The order contains:
Status is derived from quantities, not stored:
fulfilled == total → "fulfilled"fulfilled > 0 → "partial"fulfilled == 0 → "processing"Common values: processing, shipped, in_transit, delivered, failed_attempt, canceled, undeliverable, returned_to_sender. The set is extensible — new values may appear.
Common values: refund, return, credit, price_adjustment, dispute, cancellation. Also extensible.
event_id (unique) and created_time (RFC 3339).This is critical for security:
Signing (Business side):
signing_keys in the Business's /.well-known/ucp profilekid in the JWT header to match the key IDRequest-Signature HTTP headerVerification (Platform side):
Request-Signature headerkid/.well-known/ucp profile, find the matching keyBusiness:
Platform:
Request-Signature on every incoming webhookevent_idFetch the conformance test suite at https://github.com/Universal-Commerce-Protocol/conformance for webhook test cases.
npx claudepluginhub orcaqubits/agentic-commerce-skills-plugins --plugin ucp-agentic-commerceImplements ACP order lifecycle management with status tracking, order_created/updated webhook emission using HMAC-SHA256 signatures, fulfillment updates, and post-purchase adjustments like refunds.
Implements UCP patterns: capability negotiation with caching, idempotency keys via Redis/DB, error resolution loops for checkouts, multi-binding REST/MCP/A2A servers. For UCP internal architecture.
Implements e-commerce order processing: state machine (pending to delivered/cancelled/returned), fulfillment workflows, RMA returns/exchanges, event sourcing, split shipments, invoices, and notifications. Use for robust order lifecycles.