woocommerce-api

Extract WooCommerce REST API v3 order data and parse UTM attribution from meta_data.

Updated Aug 23, 2026
One-click install
npx skills add https://github.com/ketzal88/ai-analyzer --skill woocommerce-api
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: woocommerce-api
Source: https://github.com/ketzal88/ai-analyzer/tree/main/.claude/skills/woocommerce-api
Command: npx skills add https://github.com/ketzal88/ai-analyzer --skill woocommerce-api

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes references (resource) components.

What problem does it solve?

This Skill provides specialized knowledge for integrating with the WooCommerce REST API, enabling efficient data extraction, order syncing, and attribution analysis.

Core Features & Use Cases

  • WooCommerce REST API v3 Expertise: Deep understanding of endpoints, authentication, and data structures.
  • Order Data Handling: Extract order details, calculate revenue, and parse UTM parameters from meta_data.
  • Troubleshooting: Resolve issues related to the woocommerce-service.ts implementation.
  • Use Case: Automatically sync new WooCommerce orders to a CRM, extracting customer details and UTM source for marketing attribution.

Quick Start

Use the woocommerce-api skill to fetch all completed orders from the last 7 days.

Frequently Asked Questions about woocommerce-api

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I extract UTM attribution parameters from WooCommerce order meta_data?

To extract UTM attribution from WooCommerce orders, you parse the `meta_data` field of the order object retrieved via the REST API. This allows you to capture marketing source details for proper CRM attribution syncing.

Why are my WooCommerce API revenue calculations incorrect after refunds?

WooCommerce API revenue calculations are incorrect after refunds because the system uses negative refund totals. You must account for these negative values when computing total revenue from order data to avoid inaccurate financial reporting.

How do I sync completed WooCommerce orders to a CRM using the REST API v3?

To sync WooCommerce orders to a CRM, use the WooCommerce REST API v3 to fetch completed orders and extract customer details. You can then map this data directly into your CRM's required format for attribution tracking.

How do I troubleshoot order data extraction issues in woocommerce-service.ts?

Troubleshooting woocommerce-service.ts involves checking your WooCommerce REST API v3 data extraction logic for errors in revenue computation and UTM attribution parsing. Verify that your code correctly handles negative refund totals and meta_data structures.

Where are UTM parameters stored in WooCommerce REST API order responses?

UTM parameters in WooCommerce REST API order responses are located within the `meta_data` array of the order object. You must parse this specific field to successfully extract marketing attribution data for your downstream sync processes.