ACP Discount Extension

•
32
•

Implements standardized coupon and promotional code logic for Agentic Commerce Protocol (ACP) checkout flows.

This skill enables Claude to integrate robust discount and promotional code functionality into e-commerce checkout sessions using the Agentic Commerce Protocol (ACP). It provides standardized patterns for submitting coupon codes, handling merchant responses for applied or rejected discounts, and calculating precise line-item allocations. By automating the negotiation of the discount extension, it streamlines the development of agentic shopping experiences, allowing AI agents to apply discounts, explain savings to users, and manage complex promotional rules such as expiration dates, usage limits, and eligibility requirements.

主要功能

01Automated extension capability negotiation between agents and merchants
02Real-time integration with order totals and itemized pricing
03Standardized promo code submission for ACP checkout sessions
04Granular line-item discount mapping using JSONPath allocations
0532 GitHub stars
06Detailed error handling for rejected codes (expired, invalid, ineligible)

使用场景

01Handling real-time validation and error reporting for customer promotional codes
02Implementing complex multi-item discount rules for automated checkout
03Adding promo code support to an ACP-compliant digital storefront