Pro Plugin Extension API for Advanced Features

Pro API

The Order Daemon Pro API extends the core functionality with advanced features, additional rule components, and enhanced debugging capabilities. This documentation covers all Pro-specific endpoints and features. Base URL and Authentication Base URL: Authentication: All Pro endpoints require: Headers: Debug Rule API The Debug Rule API provides comprehensive testing and debugging capabilities for automation rules….

Webhooks API: Stripe, PayPal, & Generic Integration Reference

Webhooks API

The Webhooks API enables Order Daemon to receive and process events from external services like payment gateways, automation platforms, and third-party integrations. This system supports standard webhooks with comprehensive event routing and processing capabilities. Base URL Authentication: Webhook endpoints use service-specific authentication (signatures, shared secrets) rather than WordPress authentication. Gateway Webhook Endpoints POST /webhooks/{gateway} Receive…

Rules Management API: CRUD, Test, & Validate WooCommerce Automation

Rules Management API

The Rules API provides complete CRUD operations for automation rules, plus component discovery endpoints for building rule management interfaces. Base URL Authentication: Requires manage_woocommerce capability and proper WordPress authentication. Endpoints GET /rule-builder/components Get available triggers, conditions, and actions for building rules. Parameters: Example Request: Example Response: GET /rule/{id} Get a specific rule by ID. Parameters:…

Audit Log API: Filter, Export, & Stream WooCommerce Automation Events

Audit Log API

The Audit Log API provides access to the complete timeline of automation activities, with powerful filtering and search capabilities for compliance, monitoring, and debugging purposes. Base URL Authentication: Requires manage_woocommerce capability and proper WordPress authentication. Endpoints GET /audit/ List audit log entries with filtering and pagination. Parameters: Example Request: Example Response: GET /audit/{id} Get a…

REST API & Webhooks Reference

11. API Overview

This guide provides an overview of Order Daemon’s REST API and webhook integration capabilities. For detailed documentation of specific API endpoints, refer to the individual API documentation files. API Architecture Order Daemon provides a comprehensive REST API that follows WordPress REST API conventions and integrates with WordPress authentication and capability systems. Base URL Structure API…

Hooks & Filters Reference: WordPress Action/Filter API Guide

10. Hooks and Filters

This comprehensive reference guide covers all WordPress hooks (actions and filters) provided by Order Daemon for extending functionality. It serves as the primary resource for developers building custom integrations, extensions, and modifications to the Order Daemon automation framework. Overview Order Daemon provides a comprehensive hook system that allows developers to: All hooks follow WordPress conventions…

Extensibility Hooks: Add Rules, Gateways, Logs, & Workflows

Extensibility Hooks

These hooks enable you to add new rule components, integrate external services, and build custom automation logic. Use these to extend Order Daemon’s capabilities beyond the built-in features. Component Registration Hooks Filter: odcm_rule_components Register custom triggers, conditions, and actions. Parameters: Returns: Modified components array Component Array Structure: Example: Gateway Integration Hooks Filter: odcm_gateway_adapters Register custom…

Core Hooks Reference: Actions, Filters & Usage Guide

Core Hooks Reference

This comprehensive reference documents all public WordPress hooks (actions and filters) exposed by Order Daemon Core that are intended for safe use by third-party plugins and site customizations. Usage Guidelines Component Registration Hooks Component Registration Actions odcm_register_triggers Purpose: Register custom Trigger components with the Rule Component Registry When it fires: During options/registry load (plugin init)…

Custom Rules: Build Triggers, Conditions, & Actions

Creating Custom Rule Components

This guide shows how to extend Order Daemon by adding your own rule components: Triggers, Conditions, and Actions. It focuses on stable contracts and best practices, and avoids internal-only details. What you’ll learn Prerequisites How components are discovered Order Daemon discovers components via a registry: You do not need to “register” your class manually in…

CLI & Automation Guide (Pro): WP-CLI Commands, Cron, & Best Practices

CLI Commands (Pro)

This page describes how to use command-line automation with Order Daemon. The guidance below shows recommended patterns, expected shapes, and best practices. Important CLI Commands Are Pro-Only: The Order Daemon CLI commands are exclusively available in the Pro plugin. The free Core plugin does not include any CLI functionality. Prerequisites Available Pro CLI Commands The…

Audit Log Extensions Guide: Custom Filters, Event Types, & Logging

Audit Log Extensions

This guide explains how to extend the Audit/Insight system: register custom filters for the Insight UI, add new event types to the logging taxonomy, and emit structured audit events from your code. It focuses on stable, public surfaces exposed by Core and is safe for use by third‑party plugins. What the Audit Log is Order…