Skip to main content
The Firmly Cart API provides a unified interface for cart management across different e-commerce platforms.

Core Concept

Firmly acts as a standardization layer between your application and merchant systems, providing consistent cart operations regardless of the underlying platform.

What Firmly Provides

  1. Unified API: Same endpoints work across all merchant platforms
  2. Standardized Responses: Consistent data format regardless of merchant
  3. Device Authentication: Secure, session-based access control
  4. Real-time Operations: Direct integration with merchant systems

Authentication Flow

Cart States

Carts have dynamically determined states based on their current condition:
  • active: Default state, all operations allowed
  • submitted: Order completed (has platform_order_number)
  • item_not_shippable: Items cannot ship to selected address
  • checkout_blocked: Has errors preventing checkout

Key Identifiers

Every response includes:
  • platform_id: The e-commerce platform type
  • shop_id: The specific merchant domain
  • cart_id: Unique cart identifier

Next Steps