Skip to main content

JavaScript API

Complete reference for all JavaScript methods available in the Campaign Cart SDK.

Quick Navigation

Method Categories

The JavaScript API is organized into the following categories:

  • Cart Methods - Add, remove, update cart items
  • Campaign & Package Methods - Get campaign and package data
  • Coupon Methods - Apply and manage discount codes
  • Shipping Methods - Manage shipping options
  • Tracking & Analytics Methods - Track e-commerce events
  • Upsell Methods - Post-purchase upsell management
  • Event Methods - Subscribe to SDK events
  • Utility Methods - Formatting and validation
  • Debug API - Development and troubleshooting tools

Documentation

All systems normal