Skip to main content
The Addon Management API enables merchants to offer value-added services like warranties, protection plans, and special services. Addons are defined by the merchant system and can apply to different scopes within the cart.

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

Addons are offered based on merchant rules:
  • Item-specific eligibility
  • Business logic and thresholds
  • Product categories
  • Merchant configuration
Some addons can have child options:
  • 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:
  1. Group addons by scope for clarity
  2. Show pricing clearly (per-order vs per-item)
  3. Indicate required vs optional addons
  4. Display savings or value propositions
  5. Handle hierarchical selections intuitively

Common Use Cases

Best Practices

Important Considerations:
  • Always validate addon eligibility before selection
  • Handle addon pricing in cart totals correctly
  • Clear selections when items are removed
  • Respect single vs multiple selection constraints
  • Show addon impact on delivery times if applicable

Next Steps

Ready to implement addons? Start with these endpoints:
  1. Add Addon - Apply addon services
  2. Remove Addon - Remove selections
  3. Get Cart - View addon offers and selections