REST API Reference

Overview

CodeAtoZ plugins extend the WooCommerce REST API with additional endpoints for managing rules and campaigns programmatically.

Hide Price Pro Endpoints

GET /wp-json/caz-hpp/v1/rules

List all price hiding rules.

GET /wp-json/caz-hpp/v1/rules/{id}

Get a specific rule by ID.

GET /wp-json/caz-hpp/v1/inquiries

List all inquiry form submissions. Supports pagination and status filters.

Campaign Manager Pro Endpoints

GET /wp-json/caz-scm/v1/campaigns

List all campaigns with status, dates, and targeting info.

GET /wp-json/caz-scm/v1/campaigns/{id}/analytics

Get analytics data for a specific campaign.

Authentication

All API endpoints require authentication. Use WooCommerce API keys or WordPress Application Passwords. See the authentication guide for details.

Was this article helpful?