Addon System Overview
Cart-Level Addons
Apply to entire order
- Order-wide services
- Shipping protection
- General fees or services
Item-Level Addons
Apply to specific items
- Extended warranties
- Protection plans
- Item-specific services
Group-Level Addons
Apply to item groups
- Services for multiple related items
- Group-specific options
How Addons Work
1. Addon Offers
When you retrieve a cart, the merchant system returns available addons based on:- Cart contents and business rules
- Item eligibility
- Merchant configuration
2. Addon Selection
Customers can select addons using the Add Addon endpoint:- Specify the addon ID and line item IDs
- Select child addons if applicable
- System updates the cart with selections
3. Pricing & Application
- Cart-level: Single price for the entire order
- Item-level: Price per item or group of items
- Group-level: Price for a predefined group
Key Features
Merchant-Defined Eligibility
Merchant-Defined Eligibility
Addons are offered based on merchant rules:
- Item-specific eligibility
- Business logic and thresholds
- Product categories
- Merchant configuration
Hierarchical Addons
Hierarchical Addons
Some addons can have child options:
Constraints & Rules
Constraints & Rules
- Required addons: Must be selected before checkout
- Single selection: Only one addon from a group
- Multiple selection: Allow multiple addons
- Quantity limits: Min/max quantities per addon
API Endpoints
Add Addon
Apply addon services with flexible scoping options
Remove Addon
Remove previously selected addons from the cart
Implementation Guide
Example: Multi-Tier Addon Selection
Here’s how addons appear in a typical cart response:Frontend Integration Tips
When displaying addons in your UI:
- Group addons by scope for clarity
- Show pricing clearly (per-order vs per-item)
- Indicate required vs optional addons
- Display savings or value propositions
- Handle hierarchical selections intuitively
Common Use Cases
- E-commerce Protection
- Protection Plans
- Gift Options
Best Practices
Next Steps
Ready to implement addons? Start with these endpoints:- Add Addon - Apply addon services
- Remove Addon - Remove selections
- Get Cart - View addon offers and selections