Carts
Overview
Key Concepts
Cart vs Order
Multi-Merchant Architecture
Core Properties
Identification
{
"id": 10000, // Unique cart ID in Violet
"token": "fz8x7gksdjsy2p9...", // Cart token for secure access
"app_order_id": "order_123", // Your system's order identifier
"external_id": "ref_456" // Optional reference ID
}Ownership & Context
Financial Summary
Bags Structure
Bag Lifecycle States
SKU (Product Items) Structure
Customer Information
Payment Integration
Standard Payment Flow
Wallet-Based Checkout (Apple Pay, Google Pay)
Error Handling
Special Features
Multi-Currency Support
Discount Codes
Shipping Methods
Key API Endpoints
Action
Endpoint
Method
Best Practices
Cart Management
Performance Considerations
Security
Example: Basic Cart Creation
Last updated
Was this helpful?