Complete API control for modern storefronts

Build custom shopping experiences with our headless commerce APIs. Retrieve products, manage pricing, build carts, and choose between your own payment forms or our secure hosted checkout.

Fetch Products

API retrieves catalog & pricing

Build Cart

Manage items & calculations

Process Payment

Your form or hosted checkout

Complete Order

Fulfillment & confirmation

Build Your Headless Store in 3 Steps

Everything you need to create custom commerce experiences with complete control

1

Retrieve Products & Pricing

Access your complete product catalog with real-time pricing, inventory, and promotional data.

  • Real-time pricing with customer-specific discounts
  • Multi-currency support with automatic conversion
  • Inventory tracking across multiple warehouses
  • Dynamic promotional rules and bundle pricing
// Get campaign items with variants
GET /campaigns/{campaign_id}/items

{
  "item_name": "Premium Product",
  "item_shippable": false,
  "item_quantity": 1,
  "item_option_variations": [
    {
      "items_option_variation_name": "Large",
      "items_option_variation_price": "29.99",
      "items_option_variation_sku": "PROD-LG"
    }
  ]
}

2

Build & Manage Shopping Carts

Create persistent carts with automatic price calculations, tax computation, and shipping options.

// Create a cart
POST /carts

{
  "connection_id": 1,
  "campaign_id": 1,
  "editable": true,
  "offers": [
    {
      "offer_id": 1,
      "order_offer_quantity": 1,
      "item_id": 2
    }
  ]
}
// Update cart items
PUT /carts/{cart_token}

{
  "connection_id": 1,
  "campaign_id": 1,
  "offers": [
    {
      "offer_id": 1,
      "item_id": 2
    }, {
      "offer_id": 2,
      "item_id": 4
    }
  ]
}
// Cart API Response
{
  "success": true,
  "data": {
    "connection_cart": {
      "subtotal": "25.00",
      "total": "25.00",
      "connection_cart_token": "846390c..."
    }
  }
}

Persistent Carts

Carts saved across sessions with automatic cleanup

Smart Calculations

Real-time tax, shipping, and discount computations

Promotion Engine

Apply complex promotional rules and bundle deals

Multi-region Support

Handle different currencies, taxes, and regulations

3

Choose Your Payment Flow

Complete control over checkout: build your own payment forms or use our PCI-compliant hosted checkout.

Custom Payment Forms

Full Control

Build your own payment forms with complete control over the user experience while maintaining PCI compliance.

// Process payment with cart
POST /orders

{
  "action": "process",
  "offers": [
    {
      "offer_id": 1,
      "item_id": 1
    }
  ],
  "email": "customer@example.com",
  "card_number": "4111222233334444"
}
  • Custom branded checkout experience
  • Inline validation and error handling
  • PCI SAQ-A compliance with tokenization
  • Support for saved payment methods

Vrio Hosted Checkout

Quick Setup

Redirect to our secure, optimized checkout page with built-in payment orchestration and fraud protection.

// Get checkout URL from cart
GET /carts/{cart_token}

{
  "success": true,
  "data": {
    "connection_cart": {
      "checkout_url": "https://checkout.vrio.app/c/123"
    }
  }
}
  • Pre-built, conversion-optimized checkout
  • 20+ payment methods out of the box
  • Automatic payment orchestration & failover
  • Built-in fraud detection and 3D Secure

Powerful Headless Commerce Features

Everything you need to build modern, scalable commerce experiences

Real-time Sync

Inventory, pricing, and promotions update instantly across all channels.

  • • WebSocket subscriptions for live updates
  • • Event-driven architecture
  • • Conflict resolution handling

Frontend Agnostic

Build with any framework — React, Vue, Angular, or vanilla JavaScript.

  • • RESTful API design
  • • GraphQL endpoint available
  • • SDK libraries for popular frameworks

Edge Performance

Global CDN with sub-50ms API response times worldwide.

  • • Intelligent caching strategies
  • • Regional data centers
  • • Automatic failover & redundancy

Enterprise Security

Bank-level security with PCI DSS Level 1 compliance.

  • • End-to-end encryption
  • • Tokenization & vault storage
  • • Fraud detection & prevention

Analytics & Insights

Track every interaction with detailed commerce analytics.

  • • Conversion funnel analysis
  • • Cart abandonment tracking
  • • Revenue attribution

Global Commerce

Sell worldwide with multi-currency and regional support.

  • • 150+ currencies supported
  • • Automatic tax calculation
  • • Regional payment methods

Quick Start Resources

Get up and running with headless commerce in minutes. Access our quick start guide, API reference, and code examples.

Why Choose Headless with Vrio?

Get all the benefits of headless architecture with none of the complexity

Lightning Fast Performance

Sub-50ms API response times with global CDN distribution for instant product catalog and cart operations.

  • Global edge caching
  • Sub-millisecond queries
  • 99.99% uptime SLA

Complete Design Freedom

Build any customer experience you can imagine. No theme limitations or platform constraints.

  • Custom storefronts
  • Mobile-first design
  • Framework agnostic

Developer-First APIs

RESTful APIs with comprehensive SDKs, detailed documentation, and extensive code examples.

  • REST & GraphQL support
  • Multiple SDK languages
  • Interactive API explorer

Enterprise Security

PCI DSS Level 1 compliant infrastructure with advanced fraud protection and secure tokenization.

  • PCI Level 1 compliant
  • Encrypted data storage
  • Fraud prevention

Scales Automatically

Handle traffic spikes and seasonal demand without infrastructure management or performance degradation.

  • Auto-scaling infrastructure
  • Load balancing
  • Traffic optimization

Seamless Integrations

Connect with your existing tools through webhooks, APIs, and pre-built integrations.

  • Real-time webhooks
  • ERP integrations
  • Analytics platforms

Headless Commerce Use Cases

See how businesses use Vrio's headless APIs to create unique commerce experiences

Custom Storefronts

Build unique shopping experiences with complete control over design, functionality, and user flow.

Mobile Apps

Power native mobile commerce experiences with fast, reliable APIs designed for mobile performance.

Marketplaces

Create multi-vendor marketplaces with complex pricing rules, vendor management, and commission tracking.

Gaming Platforms

Integrate commerce directly into games and applications for in-app purchases and digital goods.

Content Platforms

Add commerce to content sites, blogs, and media platforms with seamless purchasing experiences.

B2B Portals

Build sophisticated B2B commerce portals with custom pricing, approval workflows, and bulk ordering.

Framework Integration Examples

Get started quickly with examples for popular frameworks and platforms

React + Next.js

const response = await fetch('/campaigns/{campaign_id}/items')
const campaignItems = await response.json()

export default function ProductPage() {
  const [items, setItems] = useState([])

useEffect(() => {
    fetchCampaignItems().then(setItems)
  }, [])
}

Vue.js + Nuxt

export default {
  async asyncData() {
    const response = await fetch('/campaigns/{campaign_id}/items')
    const campaignItems = await response.json()
    return { campaignItems }
  }
}

Vanilla JavaScript

const response = await fetch('/campaigns/{campaign_id}/items')
const campaignItems = await response.json()

Ready to build your headless commerce experience?

Get instant API access and start building custom storefronts with complete control over the customer experience.