{
  "schemaVersion": "1.0",
  "item": {
    "slug": "woocommerce",
    "name": "WooCommerce",
    "source": "tencent",
    "type": "skill",
    "category": "开发工具",
    "sourceUrl": "https://clawhub.ai/byungkyu/woocommerce",
    "canonicalUrl": "https://clawhub.ai/byungkyu/woocommerce",
    "targetPlatform": "OpenClaw"
  },
  "install": {
    "downloadMode": "redirect",
    "downloadUrl": "/downloads/woocommerce",
    "sourceDownloadUrl": "https://wry-manatee-359.convex.site/api/v1/download?slug=woocommerce",
    "sourcePlatform": "tencent",
    "targetPlatform": "OpenClaw",
    "installMethod": "Manual import",
    "extraction": "Extract archive",
    "prerequisites": [
      "OpenClaw"
    ],
    "packageFormat": "ZIP package",
    "includedAssets": [
      "SKILL.md",
      "LICENSE.txt"
    ],
    "primaryDoc": "SKILL.md",
    "quickSetup": [
      "Download the package from Yavira.",
      "Extract the archive and review SKILL.md first.",
      "Import or place the package into your OpenClaw setup."
    ],
    "agentAssist": {
      "summary": "Hand the extracted package to your coding agent with a concrete install brief instead of figuring it out manually.",
      "steps": [
        "Download the package from Yavira.",
        "Extract it into a folder your agent can access.",
        "Paste one of the prompts below and point your agent at the extracted folder."
      ],
      "prompts": [
        {
          "label": "New install",
          "body": "I downloaded a skill package from Yavira. Read SKILL.md from the extracted folder and install it by following the included instructions. Tell me what you changed and call out any manual steps you could not complete."
        },
        {
          "label": "Upgrade existing",
          "body": "I downloaded an updated skill package from Yavira. Read SKILL.md from the extracted folder, compare it with my current installation, and upgrade it while preserving any custom configuration unless the package docs explicitly say otherwise. Summarize what changed and any follow-up checks I should run."
        }
      ]
    },
    "sourceHealth": {
      "source": "tencent",
      "status": "healthy",
      "reason": "direct_download_ok",
      "recommendedAction": "download",
      "checkedAt": "2026-05-07T17:22:31.273Z",
      "expiresAt": "2026-05-14T17:22:31.273Z",
      "httpStatus": 200,
      "finalUrl": "https://wry-manatee-359.convex.site/api/v1/download?slug=afrexai-annual-report",
      "contentType": "application/zip",
      "probeMethod": "head",
      "details": {
        "probeUrl": "https://wry-manatee-359.convex.site/api/v1/download?slug=afrexai-annual-report",
        "contentDisposition": "attachment; filename=\"afrexai-annual-report-1.0.0.zip\"",
        "redirectLocation": null,
        "bodySnippet": null
      },
      "scope": "source",
      "summary": "Source download looks usable.",
      "detail": "Yavira can redirect you to the upstream package for this source.",
      "primaryActionLabel": "Download for OpenClaw",
      "primaryActionHref": "/downloads/woocommerce"
    },
    "validation": {
      "installChecklist": [
        "Use the Yavira download entry.",
        "Review SKILL.md after the package is downloaded.",
        "Confirm the extracted package contains the expected setup assets."
      ],
      "postInstallChecks": [
        "Confirm the extracted package includes the expected docs or setup files.",
        "Validate the skill or prompts are available in your target agent workspace.",
        "Capture any manual follow-up steps the agent could not complete."
      ]
    },
    "downloadPageUrl": "https://openagent3.xyz/downloads/woocommerce",
    "agentPageUrl": "https://openagent3.xyz/skills/woocommerce/agent",
    "manifestUrl": "https://openagent3.xyz/skills/woocommerce/agent.json",
    "briefUrl": "https://openagent3.xyz/skills/woocommerce/agent.md"
  },
  "agentAssist": {
    "summary": "Hand the extracted package to your coding agent with a concrete install brief instead of figuring it out manually.",
    "steps": [
      "Download the package from Yavira.",
      "Extract it into a folder your agent can access.",
      "Paste one of the prompts below and point your agent at the extracted folder."
    ],
    "prompts": [
      {
        "label": "New install",
        "body": "I downloaded a skill package from Yavira. Read SKILL.md from the extracted folder and install it by following the included instructions. Tell me what you changed and call out any manual steps you could not complete."
      },
      {
        "label": "Upgrade existing",
        "body": "I downloaded an updated skill package from Yavira. Read SKILL.md from the extracted folder, compare it with my current installation, and upgrade it while preserving any custom configuration unless the package docs explicitly say otherwise. Summarize what changed and any follow-up checks I should run."
      }
    ]
  },
  "documentation": {
    "source": "clawhub",
    "primaryDoc": "SKILL.md",
    "sections": [
      {
        "title": "WooCommerce",
        "body": "Access the WooCommerce REST API with managed OAuth authentication. Manage products, orders, customers, coupons, shipping, taxes, and more for e-commerce operations."
      },
      {
        "title": "Quick Start",
        "body": "# List products\npython <<'EOF'\nimport urllib.request, os, json\nreq = urllib.request.Request('https://gateway.maton.ai/woocommerce/wp-json/wc/v3/products')\nreq.add_header('Authorization', f'Bearer {os.environ[\"MATON_API_KEY\"]}')\nprint(json.dumps(json.load(urllib.request.urlopen(req)), indent=2))\nEOF"
      },
      {
        "title": "Base URL",
        "body": "https://gateway.maton.ai/woocommerce/{native-api-path}\n\nReplace {native-api-path} with the actual WooCommerce API endpoint path. The gateway proxies requests to your WooCommerce store and automatically handles authentication."
      },
      {
        "title": "Authentication",
        "body": "All requests require the Maton API key in the Authorization header:\n\nAuthorization: Bearer $MATON_API_KEY\n\nEnvironment Variable: Set your API key as MATON_API_KEY:\n\nexport MATON_API_KEY=\"YOUR_API_KEY\""
      },
      {
        "title": "Getting Your API Key",
        "body": "Sign in or create an account at maton.ai\nGo to maton.ai/settings\nCopy your API key"
      },
      {
        "title": "Connection Management",
        "body": "Manage your WooCommerce OAuth connections at https://ctrl.maton.ai."
      },
      {
        "title": "List Connections",
        "body": "python <<'EOF'\nimport urllib.request, os, json\nreq = urllib.request.Request('https://ctrl.maton.ai/connections?app=woocommerce&status=ACTIVE')\nreq.add_header('Authorization', f'Bearer {os.environ[\"MATON_API_KEY\"]}')\nprint(json.dumps(json.load(urllib.request.urlopen(req)), indent=2))\nEOF"
      },
      {
        "title": "Create Connection",
        "body": "python <<'EOF'\nimport urllib.request, os, json\ndata = json.dumps({'app': 'woocommerce'}).encode()\nreq = urllib.request.Request('https://ctrl.maton.ai/connections', data=data, method='POST')\nreq.add_header('Authorization', f'Bearer {os.environ[\"MATON_API_KEY\"]}')\nreq.add_header('Content-Type', 'application/json')\nprint(json.dumps(json.load(urllib.request.urlopen(req)), indent=2))\nEOF"
      },
      {
        "title": "Get Connection",
        "body": "python <<'EOF'\nimport urllib.request, os, json\nreq = urllib.request.Request('https://ctrl.maton.ai/connections/{connection_id}')\nreq.add_header('Authorization', f'Bearer {os.environ[\"MATON_API_KEY\"]}')\nprint(json.dumps(json.load(urllib.request.urlopen(req)), indent=2))\nEOF\n\nResponse:\n\n{\n  \"connection\": {\n    \"connection_id\": \"21fd90f9-5935-43cd-b6c8-bde9d915ca80\",\n    \"status\": \"ACTIVE\",\n    \"creation_time\": \"2025-12-08T07:20:53.488460Z\",\n    \"last_updated_time\": \"2026-01-31T20:03:32.593153Z\",\n    \"url\": \"https://connect.maton.ai/?session_token=...\",\n    \"app\": \"woocommerce\",\n    \"metadata\": {}\n  }\n}\n\nOpen the returned url in a browser to complete OAuth authorization."
      },
      {
        "title": "Delete Connection",
        "body": "python <<'EOF'\nimport urllib.request, os, json\nreq = urllib.request.Request('https://ctrl.maton.ai/connections/{connection_id}', method='DELETE')\nreq.add_header('Authorization', f'Bearer {os.environ[\"MATON_API_KEY\"]}')\nprint(json.dumps(json.load(urllib.request.urlopen(req)), indent=2))\nEOF"
      },
      {
        "title": "Specifying Connection",
        "body": "If you have multiple WooCommerce connections, specify which one to use with the Maton-Connection header:\n\npython <<'EOF'\nimport urllib.request, os, json\nreq = urllib.request.Request('https://gateway.maton.ai/woocommerce/wp-json/wc/v3/products')\nreq.add_header('Authorization', f'Bearer {os.environ[\"MATON_API_KEY\"]}')\nreq.add_header('Maton-Connection', '21fd90f9-5935-43cd-b6c8-bde9d915ca80')\nprint(json.dumps(json.load(urllib.request.urlopen(req)), indent=2))\nEOF\n\nIf omitted, the gateway uses the default (oldest) active connection."
      },
      {
        "title": "Products",
        "body": "List All Products\n\nGET /woocommerce/wp-json/wc/v3/products\n\nQuery parameters:\n\npage - Current page (default: 1)\nper_page - Items per page (default: 10, max: 100)\nsearch - Search by product name\nstatus - Filter by status: draft, pending, private, publish\ntype - Filter by type: simple, grouped, external, variable\nsku - Filter by SKU\ncategory - Filter by category ID\ntag - Filter by tag ID\nfeatured - Filter featured products\non_sale - Filter on-sale products\nmin_price / max_price - Filter by price range\nstock_status - Filter by stock status: instock, outofstock, onbackorder\norderby - Sort by: date, id, include, title, slug, price, popularity, rating\norder - Sort order: asc, desc\n\nExample:\n\ncurl -s -X GET \"https://gateway.maton.ai/woocommerce/wp-json/wc/v3/products?per_page=20&status=publish\" -H \"Authorization: Bearer $MATON_API_KEY\"\n\nResponse:\n\n[\n  {\n    \"id\": 123,\n    \"name\": \"Premium T-Shirt\",\n    \"slug\": \"premium-t-shirt\",\n    \"type\": \"simple\",\n    \"status\": \"publish\",\n    \"sku\": \"TSH-001\",\n    \"price\": \"29.99\",\n    \"regular_price\": \"34.99\",\n    \"sale_price\": \"29.99\",\n    \"stock_quantity\": 50,\n    \"stock_status\": \"instock\",\n    \"categories\": [{\"id\": 15, \"name\": \"Apparel\"}],\n    \"images\": [{\"id\": 456, \"src\": \"https://...\"}]\n  }\n]\n\nGet a Product\n\nGET /woocommerce/wp-json/wc/v3/products/{id}\n\nExample:\n\ncurl -s -X GET \"https://gateway.maton.ai/woocommerce/wp-json/wc/v3/products/123\" -H \"Authorization: Bearer $MATON_API_KEY\"\n\nCreate a Product\n\nPOST /woocommerce/wp-json/wc/v3/products\nContent-Type: application/json\n\n{\n  \"name\": \"New Product\",\n  \"type\": \"simple\",\n  \"regular_price\": \"49.99\",\n  \"description\": \"Full product description\",\n  \"short_description\": \"Brief description\",\n  \"sku\": \"PROD-001\",\n  \"manage_stock\": true,\n  \"stock_quantity\": 100,\n  \"categories\": [{\"id\": 15}],\n  \"images\": [{\"src\": \"https://example.com/image.jpg\"}]\n}\n\nExample:\n\ncurl -s -X POST \"https://gateway.maton.ai/woocommerce/wp-json/wc/v3/products\" -H \"Content-Type: application/json\" -H \"Authorization: Bearer $MATON_API_KEY\" -d '{\"name\": \"Premium Widget\", \"type\": \"simple\", \"regular_price\": \"19.99\", \"sku\": \"WDG-001\"}'\n\nUpdate a Product\n\nPUT /woocommerce/wp-json/wc/v3/products/{id}\n\nExample:\n\ncurl -s -X PUT \"https://gateway.maton.ai/woocommerce/wp-json/wc/v3/products/123\" -H \"Content-Type: application/json\" -H \"Authorization: Bearer $MATON_API_KEY\" -d '{\"regular_price\": \"24.99\", \"sale_price\": \"19.99\"}'\n\nDelete a Product\n\nDELETE /woocommerce/wp-json/wc/v3/products/{id}\n\nQuery parameters:\n\nforce - Set to true to permanently delete (default: false moves to trash)\n\nDuplicate a Product\n\nPOST /woocommerce/wp-json/wc/v3/products/{id}/duplicate"
      },
      {
        "title": "Product Variations",
        "body": "For variable products, manage individual variations:\n\nList Variations\n\nGET /woocommerce/wp-json/wc/v3/products/{product_id}/variations\n\nCreate Variation\n\nPOST /woocommerce/wp-json/wc/v3/products/{product_id}/variations\nContent-Type: application/json\n\n{\n  \"regular_price\": \"29.99\",\n  \"sku\": \"TSH-001-RED-M\",\n  \"attributes\": [\n    {\"id\": 1, \"option\": \"Red\"},\n    {\"id\": 2, \"option\": \"Medium\"}\n  ]\n}\n\nUpdate Variation\n\nPUT /woocommerce/wp-json/wc/v3/products/{product_id}/variations/{id}\n\nDelete Variation\n\nDELETE /woocommerce/wp-json/wc/v3/products/{product_id}/variations/{id}\n\nBatch Update Variations\n\nPOST /woocommerce/wp-json/wc/v3/products/{product_id}/variations/batch"
      },
      {
        "title": "Product Attributes",
        "body": "List Attributes\n\nGET /woocommerce/wp-json/wc/v3/products/attributes\n\nCreate Attribute\n\nPOST /woocommerce/wp-json/wc/v3/products/attributes\nContent-Type: application/json\n\n{\n  \"name\": \"Color\",\n  \"slug\": \"color\",\n  \"type\": \"select\",\n  \"order_by\": \"menu_order\"\n}\n\nGet/Update/Delete Attribute\n\nGET /woocommerce/wp-json/wc/v3/products/attributes/{id}\nPUT /woocommerce/wp-json/wc/v3/products/attributes/{id}\nDELETE /woocommerce/wp-json/wc/v3/products/attributes/{id}"
      },
      {
        "title": "Attribute Terms",
        "body": "GET /woocommerce/wp-json/wc/v3/products/attributes/{attribute_id}/terms\nPOST /woocommerce/wp-json/wc/v3/products/attributes/{attribute_id}/terms\nGET /woocommerce/wp-json/wc/v3/products/attributes/{attribute_id}/terms/{id}\nPUT /woocommerce/wp-json/wc/v3/products/attributes/{attribute_id}/terms/{id}\nDELETE /woocommerce/wp-json/wc/v3/products/attributes/{attribute_id}/terms/{id}"
      },
      {
        "title": "Product Categories",
        "body": "List Categories\n\nGET /woocommerce/wp-json/wc/v3/products/categories\n\nCreate Category\n\nPOST /woocommerce/wp-json/wc/v3/products/categories\nContent-Type: application/json\n\n{\n  \"name\": \"Electronics\",\n  \"parent\": 0,\n  \"description\": \"Electronic products\"\n}\n\nGet/Update/Delete Category\n\nGET /woocommerce/wp-json/wc/v3/products/categories/{id}\nPUT /woocommerce/wp-json/wc/v3/products/categories/{id}\nDELETE /woocommerce/wp-json/wc/v3/products/categories/{id}"
      },
      {
        "title": "Product Tags",
        "body": "GET /woocommerce/wp-json/wc/v3/products/tags\nPOST /woocommerce/wp-json/wc/v3/products/tags\nGET /woocommerce/wp-json/wc/v3/products/tags/{id}\nPUT /woocommerce/wp-json/wc/v3/products/tags/{id}\nDELETE /woocommerce/wp-json/wc/v3/products/tags/{id}"
      },
      {
        "title": "Product Shipping Classes",
        "body": "GET /woocommerce/wp-json/wc/v3/products/shipping_classes\nPOST /woocommerce/wp-json/wc/v3/products/shipping_classes\nGET /woocommerce/wp-json/wc/v3/products/shipping_classes/{id}\nPUT /woocommerce/wp-json/wc/v3/products/shipping_classes/{id}\nDELETE /woocommerce/wp-json/wc/v3/products/shipping_classes/{id}"
      },
      {
        "title": "Product Reviews",
        "body": "List Reviews\n\nGET /woocommerce/wp-json/wc/v3/products/reviews\n\nQuery parameters:\n\nproduct - Filter by product ID\nstatus - Filter by status: approved, hold, spam, trash\n\nCreate Review\n\nPOST /woocommerce/wp-json/wc/v3/products/reviews\nContent-Type: application/json\n\n{\n  \"product_id\": 123,\n  \"review\": \"Great product!\",\n  \"reviewer\": \"John Doe\",\n  \"reviewer_email\": \"john@example.com\",\n  \"rating\": 5\n}\n\nGet/Update/Delete Review\n\nGET /woocommerce/wp-json/wc/v3/products/reviews/{id}\nPUT /woocommerce/wp-json/wc/v3/products/reviews/{id}\nDELETE /woocommerce/wp-json/wc/v3/products/reviews/{id}"
      },
      {
        "title": "Orders",
        "body": "List All Orders\n\nGET /woocommerce/wp-json/wc/v3/orders\n\nQuery parameters:\n\npage - Current page (default: 1)\nper_page - Items per page (default: 10)\nsearch - Search orders\nafter / before - Filter by date (ISO8601)\nstatus - Order status (see below)\ncustomer - Filter by customer ID\nproduct - Filter by product ID\norderby - Sort by: date, id, include, title, slug\norder - Sort order: asc, desc\n\nOrder Statuses:\n\npending - Payment pending\nprocessing - Payment received, awaiting fulfillment\non-hold - Awaiting payment confirmation\ncompleted - Order fulfilled\ncancelled - Cancelled by admin or customer\nrefunded - Fully refunded\nfailed - Payment failed\n\nExample:\n\ncurl -s -X GET \"https://gateway.maton.ai/woocommerce/wp-json/wc/v3/orders?status=processing&per_page=50\" -H \"Authorization: Bearer $MATON_API_KEY\"\n\nResponse:\n\n[\n  {\n    \"id\": 456,\n    \"status\": \"processing\",\n    \"currency\": \"USD\",\n    \"total\": \"129.99\",\n    \"customer_id\": 12,\n    \"billing\": {\n      \"first_name\": \"John\",\n      \"last_name\": \"Doe\",\n      \"email\": \"john@example.com\"\n    },\n    \"line_items\": [\n      {\n        \"id\": 789,\n        \"product_id\": 123,\n        \"name\": \"Premium T-Shirt\",\n        \"quantity\": 2,\n        \"total\": \"59.98\"\n      }\n    ]\n  }\n]\n\nGet an Order\n\nGET /woocommerce/wp-json/wc/v3/orders/{id}\n\nCreate an Order\n\nPOST /woocommerce/wp-json/wc/v3/orders\nContent-Type: application/json\n\n{\n  \"payment_method\": \"stripe\",\n  \"payment_method_title\": \"Credit Card\",\n  \"set_paid\": true,\n  \"billing\": {\n    \"first_name\": \"John\",\n    \"last_name\": \"Doe\",\n    \"address_1\": \"123 Main St\",\n    \"city\": \"Anytown\",\n    \"state\": \"CA\",\n    \"postcode\": \"12345\",\n    \"country\": \"US\",\n    \"email\": \"john@example.com\",\n    \"phone\": \"555-1234\"\n  },\n  \"shipping\": {\n    \"first_name\": \"John\",\n    \"last_name\": \"Doe\",\n    \"address_1\": \"123 Main St\",\n    \"city\": \"Anytown\",\n    \"state\": \"CA\",\n    \"postcode\": \"12345\",\n    \"country\": \"US\"\n  },\n  \"line_items\": [\n    {\n      \"product_id\": 123,\n      \"quantity\": 2\n    }\n  ]\n}\n\nUpdate an Order\n\nPUT /woocommerce/wp-json/wc/v3/orders/{id}\n\nExample - Update order status:\n\ncurl -s -X PUT \"https://gateway.maton.ai/woocommerce/wp-json/wc/v3/orders/456\" -H \"Content-Type: application/json\" -H \"Authorization: Bearer $MATON_API_KEY\" -d '{\"status\": \"completed\"}'\n\nDelete an Order\n\nDELETE /woocommerce/wp-json/wc/v3/orders/{id}"
      },
      {
        "title": "Order Notes",
        "body": "List Order Notes\n\nGET /woocommerce/wp-json/wc/v3/orders/{order_id}/notes\n\nCreate Order Note\n\nPOST /woocommerce/wp-json/wc/v3/orders/{order_id}/notes\nContent-Type: application/json\n\n{\n  \"note\": \"Order shipped via FedEx, tracking #12345\",\n  \"customer_note\": true\n}\n\ncustomer_note: Set to true to make the note visible to the customer\n\nGet/Delete Order Note\n\nGET /woocommerce/wp-json/wc/v3/orders/{order_id}/notes/{id}\nDELETE /woocommerce/wp-json/wc/v3/orders/{order_id}/notes/{id}"
      },
      {
        "title": "Order Refunds",
        "body": "List Refunds\n\nGET /woocommerce/wp-json/wc/v3/orders/{order_id}/refunds\n\nCreate Refund\n\nPOST /woocommerce/wp-json/wc/v3/orders/{order_id}/refunds\nContent-Type: application/json\n\n{\n  \"amount\": \"25.00\",\n  \"reason\": \"Product damaged during shipping\",\n  \"api_refund\": true\n}\n\napi_refund: Set to true to process refund through payment gateway\n\nGet/Delete Refund\n\nGET /woocommerce/wp-json/wc/v3/orders/{order_id}/refunds/{id}\nDELETE /woocommerce/wp-json/wc/v3/orders/{order_id}/refunds/{id}"
      },
      {
        "title": "Customers",
        "body": "List All Customers\n\nGET /woocommerce/wp-json/wc/v3/customers\n\nQuery parameters:\n\npage - Current page (default: 1)\nper_page - Items per page (default: 10)\nsearch - Search by name or email\nemail - Filter by exact email\nrole - Filter by role: all, administrator, customer, shop_manager\norderby - Sort by: id, include, name, registered_date\norder - Sort order: asc, desc\n\nExample:\n\ncurl -s -X GET \"https://gateway.maton.ai/woocommerce/wp-json/wc/v3/customers?per_page=25\" -H \"Authorization: Bearer $MATON_API_KEY\"\n\nResponse:\n\n[\n  {\n    \"id\": 12,\n    \"email\": \"john@example.com\",\n    \"first_name\": \"John\",\n    \"last_name\": \"Doe\",\n    \"username\": \"johndoe\",\n    \"billing\": {\n      \"first_name\": \"John\",\n      \"last_name\": \"Doe\",\n      \"address_1\": \"123 Main St\",\n      \"city\": \"Anytown\",\n      \"state\": \"CA\",\n      \"postcode\": \"12345\",\n      \"country\": \"US\",\n      \"email\": \"john@example.com\",\n      \"phone\": \"555-1234\"\n    },\n    \"shipping\": {\n      \"first_name\": \"John\",\n      \"last_name\": \"Doe\",\n      \"address_1\": \"123 Main St\",\n      \"city\": \"Anytown\",\n      \"state\": \"CA\",\n      \"postcode\": \"12345\",\n      \"country\": \"US\"\n    }\n  }\n]\n\nGet a Customer\n\nGET /woocommerce/wp-json/wc/v3/customers/{id}\n\nCreate a Customer\n\nPOST /woocommerce/wp-json/wc/v3/customers\nContent-Type: application/json\n\n{\n  \"email\": \"jane@example.com\",\n  \"first_name\": \"Jane\",\n  \"last_name\": \"Smith\",\n  \"username\": \"janesmith\",\n  \"password\": \"secure_password\",\n  \"billing\": {\n    \"first_name\": \"Jane\",\n    \"last_name\": \"Smith\",\n    \"address_1\": \"456 Oak Ave\",\n    \"city\": \"Springfield\",\n    \"state\": \"IL\",\n    \"postcode\": \"62701\",\n    \"country\": \"US\",\n    \"email\": \"jane@example.com\",\n    \"phone\": \"555-5678\"\n  }\n}\n\nUpdate a Customer\n\nPUT /woocommerce/wp-json/wc/v3/customers/{id}\n\nDelete a Customer\n\nDELETE /woocommerce/wp-json/wc/v3/customers/{id}"
      },
      {
        "title": "Customer Downloads",
        "body": "GET /woocommerce/wp-json/wc/v3/customers/{customer_id}/downloads\n\nReturns downloadable products the customer has access to."
      },
      {
        "title": "Coupons",
        "body": "List All Coupons\n\nGET /woocommerce/wp-json/wc/v3/coupons\n\nQuery parameters:\n\npage - Current page (default: 1)\nper_page - Items per page (default: 10)\nsearch - Search coupons\ncode - Filter by coupon code\n\nGet a Coupon\n\nGET /woocommerce/wp-json/wc/v3/coupons/{id}\n\nCreate a Coupon\n\nPOST /woocommerce/wp-json/wc/v3/coupons\nContent-Type: application/json\n\n{\n  \"code\": \"SUMMER2024\",\n  \"discount_type\": \"percent\",\n  \"amount\": \"15\",\n  \"description\": \"Summer promotion - 15% off\",\n  \"date_expires\": \"2024-08-31T23:59:59\",\n  \"individual_use\": true,\n  \"usage_limit\": 100,\n  \"usage_limit_per_user\": 1,\n  \"minimum_amount\": \"50.00\",\n  \"maximum_amount\": \"500.00\",\n  \"free_shipping\": false,\n  \"exclude_sale_items\": true\n}\n\nDiscount Types:\n\npercent - Percentage discount\nfixed_cart - Fixed amount off entire cart\nfixed_product - Fixed amount off per product\n\nCoupon Properties:\n\ncode - Coupon code (required)\namount - Discount amount\ndiscount_type - Type of discount\ndescription - Coupon description\ndate_expires - Expiration date (ISO8601)\nindividual_use - Cannot be combined with other coupons\nproduct_ids - Array of product IDs the coupon applies to\nexcluded_product_ids - Array of product IDs excluded\nusage_limit - Total number of times coupon can be used\nusage_limit_per_user - Usage limit per customer\nlimit_usage_to_x_items - Max items the discount applies to\nfree_shipping - Enables free shipping\nproduct_categories - Array of category IDs\nexcluded_product_categories - Array of excluded category IDs\nexclude_sale_items - Exclude sale items from discount\nminimum_amount - Minimum cart total required\nmaximum_amount - Maximum cart total allowed\nemail_restrictions - Array of allowed email addresses\n\nUpdate a Coupon\n\nPUT /woocommerce/wp-json/wc/v3/coupons/{id}\n\nDelete a Coupon\n\nDELETE /woocommerce/wp-json/wc/v3/coupons/{id}"
      },
      {
        "title": "Taxes",
        "body": "Tax Rates\n\nGET /woocommerce/wp-json/wc/v3/taxes\nPOST /woocommerce/wp-json/wc/v3/taxes\nGET /woocommerce/wp-json/wc/v3/taxes/{id}\nPUT /woocommerce/wp-json/wc/v3/taxes/{id}\nDELETE /woocommerce/wp-json/wc/v3/taxes/{id}\nPOST /woocommerce/wp-json/wc/v3/taxes/batch\n\nCreate Tax Rate Example:\n\ncurl -s -X POST \"https://gateway.maton.ai/woocommerce/wp-json/wc/v3/taxes\" -H \"Content-Type: application/json\" -H \"Authorization: Bearer $MATON_API_KEY\" -d '{\"country\": \"US\", \"state\": \"CA\", \"rate\": \"7.25\", \"name\": \"CA State Tax\", \"shipping\": true}'\n\nTax Classes\n\nGET /woocommerce/wp-json/wc/v3/taxes/classes\nPOST /woocommerce/wp-json/wc/v3/taxes/classes\nDELETE /woocommerce/wp-json/wc/v3/taxes/classes/{slug}"
      },
      {
        "title": "Shipping",
        "body": "Shipping Zones\n\nGET /woocommerce/wp-json/wc/v3/shipping/zones\nPOST /woocommerce/wp-json/wc/v3/shipping/zones\nGET /woocommerce/wp-json/wc/v3/shipping/zones/{id}\nPUT /woocommerce/wp-json/wc/v3/shipping/zones/{id}\nDELETE /woocommerce/wp-json/wc/v3/shipping/zones/{id}\n\nCreate Shipping Zone Example:\n\ncurl -s -X POST \"https://gateway.maton.ai/woocommerce/wp-json/wc/v3/shipping/zones\" -H \"Content-Type: application/json\" -H \"Authorization: Bearer $MATON_API_KEY\" -d '{\"name\": \"US West Coast\", \"order\": 1}'\n\nShipping Zone Locations\n\nGET /woocommerce/wp-json/wc/v3/shipping/zones/{zone_id}/locations\nPUT /woocommerce/wp-json/wc/v3/shipping/zones/{zone_id}/locations\n\nUpdate Zone Locations Example:\n\ncurl -s -X PUT \"https://gateway.maton.ai/woocommerce/wp-json/wc/v3/shipping/zones/1/locations\" -H \"Content-Type: application/json\" -H \"Authorization: Bearer $MATON_API_KEY\" -d '[{\"code\": \"US:CA\", \"type\": \"state\"}, {\"code\": \"US:OR\", \"type\": \"state\"}, {\"code\": \"US:WA\", \"type\": \"state\"}]'\n\nShipping Zone Methods\n\nGET /woocommerce/wp-json/wc/v3/shipping/zones/{zone_id}/methods\nPOST /woocommerce/wp-json/wc/v3/shipping/zones/{zone_id}/methods\nGET /woocommerce/wp-json/wc/v3/shipping/zones/{zone_id}/methods/{id}\nPUT /woocommerce/wp-json/wc/v3/shipping/zones/{zone_id}/methods/{id}\nDELETE /woocommerce/wp-json/wc/v3/shipping/zones/{zone_id}/methods/{id}\n\nShipping Methods (Global)\n\nGET /woocommerce/wp-json/wc/v3/shipping_methods\nGET /woocommerce/wp-json/wc/v3/shipping_methods/{id}"
      },
      {
        "title": "Payment Gateways",
        "body": "GET /woocommerce/wp-json/wc/v3/payment_gateways\nGET /woocommerce/wp-json/wc/v3/payment_gateways/{id}\nPUT /woocommerce/wp-json/wc/v3/payment_gateways/{id}\n\nExample - Enable a Payment Gateway:\n\ncurl -s -X PUT \"https://gateway.maton.ai/woocommerce/wp-json/wc/v3/payment_gateways/stripe\" -H \"Content-Type: application/json\" -H \"Authorization: Bearer $MATON_API_KEY\" -d '{\"enabled\": true}'"
      },
      {
        "title": "Settings",
        "body": "List Settings Groups\n\nGET /woocommerce/wp-json/wc/v3/settings\n\nList Settings in a Group\n\nGET /woocommerce/wp-json/wc/v3/settings/{group}\n\nCommon groups: general, products, tax, shipping, checkout, account, email\n\nGet/Update a Setting\n\nGET /woocommerce/wp-json/wc/v3/settings/{group}/{id}\nPUT /woocommerce/wp-json/wc/v3/settings/{group}/{id}\n\nExample - Update Store Address:\n\ncurl -s -X PUT \"https://gateway.maton.ai/woocommerce/wp-json/wc/v3/settings/general/woocommerce_store_address\" -H \"Content-Type: application/json\" -H \"Authorization: Bearer $MATON_API_KEY\" -d '{\"value\": \"123 Commerce St\"}'\n\nBatch Update Settings\n\nPOST /woocommerce/wp-json/wc/v3/settings/{group}/batch"
      },
      {
        "title": "Webhooks",
        "body": "List All Webhooks\n\nGET /woocommerce/wp-json/wc/v3/webhooks\n\nCreate a Webhook\n\nPOST /woocommerce/wp-json/wc/v3/webhooks\nContent-Type: application/json\n\n{\n  \"name\": \"Order Created\",\n  \"topic\": \"order.created\",\n  \"delivery_url\": \"https://example.com/webhooks/woocommerce\",\n  \"status\": \"active\"\n}\n\nWebhook Topics:\n\norder.created, order.updated, order.deleted, order.restored\nproduct.created, product.updated, product.deleted, product.restored\ncustomer.created, customer.updated, customer.deleted\ncoupon.created, coupon.updated, coupon.deleted, coupon.restored\n\nGet/Update/Delete Webhook\n\nGET /woocommerce/wp-json/wc/v3/webhooks/{id}\nPUT /woocommerce/wp-json/wc/v3/webhooks/{id}\nDELETE /woocommerce/wp-json/wc/v3/webhooks/{id}"
      },
      {
        "title": "Reports",
        "body": "List Available Reports\n\nGET /woocommerce/wp-json/wc/v3/reports\n\nSales Report\n\nGET /woocommerce/wp-json/wc/v3/reports/sales\n\nQuery parameters:\n\nperiod - Report period: week, month, last_month, year\ndate_min / date_max - Custom date range\n\nTop Sellers Report\n\nGET /woocommerce/wp-json/wc/v3/reports/top_sellers\n\nCoupons Totals\n\nGET /woocommerce/wp-json/wc/v3/reports/coupons/totals\n\nCustomers Totals\n\nGET /woocommerce/wp-json/wc/v3/reports/customers/totals\n\nOrders Totals\n\nGET /woocommerce/wp-json/wc/v3/reports/orders/totals\n\nProducts Totals\n\nGET /woocommerce/wp-json/wc/v3/reports/products/totals\n\nReviews Totals\n\nGET /woocommerce/wp-json/wc/v3/reports/reviews/totals"
      },
      {
        "title": "Data",
        "body": "List All Data Endpoints\n\nGET /woocommerce/wp-json/wc/v3/data\n\nContinents\n\nGET /woocommerce/wp-json/wc/v3/data/continents\nGET /woocommerce/wp-json/wc/v3/data/continents/{code}\n\nCountries\n\nGET /woocommerce/wp-json/wc/v3/data/countries\nGET /woocommerce/wp-json/wc/v3/data/countries/{code}\n\nCurrencies\n\nGET /woocommerce/wp-json/wc/v3/data/currencies\nGET /woocommerce/wp-json/wc/v3/data/currencies/{code}\nGET /woocommerce/wp-json/wc/v3/data/currencies/current"
      },
      {
        "title": "System Status",
        "body": "GET /woocommerce/wp-json/wc/v3/system_status\nGET /woocommerce/wp-json/wc/v3/system_status/tools\nPOST /woocommerce/wp-json/wc/v3/system_status/tools/{id}"
      },
      {
        "title": "Batch Operations",
        "body": "Most resources support batch operations for creating, updating, and deleting multiple items:\n\nPOST /woocommerce/wp-json/wc/v3/{resource}/batch\nContent-Type: application/json\n\n{\n  \"create\": [\n    {\"name\": \"New Product 1\", \"regular_price\": \"19.99\"},\n    {\"name\": \"New Product 2\", \"regular_price\": \"29.99\"}\n  ],\n  \"update\": [\n    {\"id\": 123, \"regular_price\": \"24.99\"}\n  ],\n  \"delete\": [456, 789]\n}\n\nResponse:\n\n{\n  \"create\": [...],\n  \"update\": [...],\n  \"delete\": [...]\n}"
      },
      {
        "title": "Pagination",
        "body": "WooCommerce uses page-based pagination with response headers:\n\nQuery Parameters:\n\npage - Page number (default: 1)\nper_page - Items per page (default: 10, max: 100)\noffset - Offset to start from\n\nResponse Headers:\n\nX-WP-Total - Total number of items\nX-WP-TotalPages - Total number of pages\nLink - Contains next, prev, first, last pagination links\n\nExample:\n\ncurl -s -I -X GET \"https://gateway.maton.ai/woocommerce/wp-json/wc/v3/products?page=2&per_page=25\" -H \"Authorization: Bearer $MATON_API_KEY\""
      },
      {
        "title": "JavaScript",
        "body": "const response = await fetch(\n  'https://gateway.maton.ai/woocommerce/wp-json/wc/v3/orders?status=processing',\n  {\n    headers: {\n      'Authorization': `Bearer ${process.env.MATON_API_KEY}`\n    }\n  }\n);\nconst orders = await response.json();"
      },
      {
        "title": "Python",
        "body": "import os\nimport requests\n\nresponse = requests.get(\n    'https://gateway.maton.ai/woocommerce/wp-json/wc/v3/products',\n    headers={'Authorization': f'Bearer {os.environ[\"MATON_API_KEY\"]}'},\n    params={'per_page': 50, 'status': 'publish'}\n)\nproducts = response.json()"
      },
      {
        "title": "Creating an Order with Line Items",
        "body": "import os\nimport requests\n\norder_data = {\n    \"payment_method\": \"stripe\",\n    \"set_paid\": True,\n    \"billing\": {\n        \"first_name\": \"John\",\n        \"last_name\": \"Doe\",\n        \"email\": \"john@example.com\",\n        \"address_1\": \"123 Main St\",\n        \"city\": \"Anytown\",\n        \"state\": \"CA\",\n        \"postcode\": \"12345\",\n        \"country\": \"US\"\n    },\n    \"line_items\": [\n        {\"product_id\": 123, \"quantity\": 2},\n        {\"product_id\": 456, \"quantity\": 1}\n    ]\n}\n\nresponse = requests.post(\n    'https://gateway.maton.ai/woocommerce/wp-json/wc/v3/orders',\n    headers={\n        'Authorization': f'Bearer {os.environ[\"MATON_API_KEY\"]}',\n        'Content-Type': 'application/json'\n    },\n    json=order_data\n)\norder = response.json()"
      },
      {
        "title": "Notes",
        "body": "All monetary amounts are returned as strings with two decimal places\nDates are in ISO8601 format: YYYY-MM-DDTHH:MM:SS\nResource IDs are integers\nThe API requires \"pretty permalinks\" enabled in WordPress\nUse context=edit parameter for additional writable fields\nIMPORTANT: When using curl commands, use curl -g when URLs contain brackets (fields[], sort[], records[]) to disable glob parsing\nIMPORTANT: When piping curl output to jq or other commands, environment variables like $MATON_API_KEY may not expand correctly in some shell environments. You may get \"Invalid API key\" errors when piping."
      },
      {
        "title": "Error Handling",
        "body": "StatusMeaning400Bad request or invalid data401Invalid or missing authentication403Forbidden - insufficient permissions404Resource not found500Internal server error\n\nError Response Format:\n\n{\n  \"code\": \"woocommerce_rest_invalid_id\",\n  \"message\": \"Invalid ID.\",\n  \"data\": {\n    \"status\": 404\n  }\n}"
      },
      {
        "title": "Troubleshooting: API Key Issues",
        "body": "Check that the MATON_API_KEY environment variable is set:\n\necho $MATON_API_KEY\n\nVerify the API key is valid by listing connections:\n\npython <<'EOF'\nimport urllib.request, os, json\nreq = urllib.request.Request('https://ctrl.maton.ai/connections')\nreq.add_header('Authorization', f'Bearer {os.environ[\"MATON_API_KEY\"]}')\nprint(json.dumps(json.load(urllib.request.urlopen(req)), indent=2))\nEOF"
      },
      {
        "title": "Troubleshooting: Invalid App Name",
        "body": "Ensure your URL path starts with woocommerce. For example:\n\nCorrect: https://gateway.maton.ai/woocommerce/wp-json/wc/v3/products\nIncorrect: https://gateway.maton.ai/wp-json/wc/v3/products"
      },
      {
        "title": "General",
        "body": "WooCommerce REST API Documentation\nAPI Authentication Guide\nWooCommerce Developer Resources"
      },
      {
        "title": "Products",
        "body": "Products\nProduct Variations\nProduct Attributes\nProduct Attribute Terms\nProduct Categories\nProduct Tags\nProduct Shipping Classes\nProduct Reviews"
      },
      {
        "title": "Orders",
        "body": "Orders\nOrder Notes\nRefunds"
      },
      {
        "title": "Customers",
        "body": "Customers"
      },
      {
        "title": "Coupons",
        "body": "Coupons"
      },
      {
        "title": "Taxes",
        "body": "Tax Rates\nTax Classes"
      },
      {
        "title": "Shipping",
        "body": "Shipping Zones\nShipping Zone Locations\nShipping Zone Methods\nShipping Methods"
      },
      {
        "title": "Payments & Settings",
        "body": "Payment Gateways\nSettings\nSetting Options"
      },
      {
        "title": "Webhooks",
        "body": "Webhooks"
      },
      {
        "title": "Reports",
        "body": "Reports\nSales Reports\nTop Sellers Report\nCoupons Totals\nCustomers Totals\nOrders Totals\nProducts Totals\nReviews Totals"
      },
      {
        "title": "Data",
        "body": "Data\nContinents\nCountries\nCurrencies"
      },
      {
        "title": "System",
        "body": "System Status\nSystem Status Tools\nMaton Community\nMaton Support"
      }
    ],
    "body": "WooCommerce\n\nAccess the WooCommerce REST API with managed OAuth authentication. Manage products, orders, customers, coupons, shipping, taxes, and more for e-commerce operations.\n\nQuick Start\n# List products\npython <<'EOF'\nimport urllib.request, os, json\nreq = urllib.request.Request('https://gateway.maton.ai/woocommerce/wp-json/wc/v3/products')\nreq.add_header('Authorization', f'Bearer {os.environ[\"MATON_API_KEY\"]}')\nprint(json.dumps(json.load(urllib.request.urlopen(req)), indent=2))\nEOF\n\nBase URL\nhttps://gateway.maton.ai/woocommerce/{native-api-path}\n\n\nReplace {native-api-path} with the actual WooCommerce API endpoint path. The gateway proxies requests to your WooCommerce store and automatically handles authentication.\n\nAuthentication\n\nAll requests require the Maton API key in the Authorization header:\n\nAuthorization: Bearer $MATON_API_KEY\n\n\nEnvironment Variable: Set your API key as MATON_API_KEY:\n\nexport MATON_API_KEY=\"YOUR_API_KEY\"\n\nGetting Your API Key\nSign in or create an account at maton.ai\nGo to maton.ai/settings\nCopy your API key\nConnection Management\n\nManage your WooCommerce OAuth connections at https://ctrl.maton.ai.\n\nList Connections\npython <<'EOF'\nimport urllib.request, os, json\nreq = urllib.request.Request('https://ctrl.maton.ai/connections?app=woocommerce&status=ACTIVE')\nreq.add_header('Authorization', f'Bearer {os.environ[\"MATON_API_KEY\"]}')\nprint(json.dumps(json.load(urllib.request.urlopen(req)), indent=2))\nEOF\n\nCreate Connection\npython <<'EOF'\nimport urllib.request, os, json\ndata = json.dumps({'app': 'woocommerce'}).encode()\nreq = urllib.request.Request('https://ctrl.maton.ai/connections', data=data, method='POST')\nreq.add_header('Authorization', f'Bearer {os.environ[\"MATON_API_KEY\"]}')\nreq.add_header('Content-Type', 'application/json')\nprint(json.dumps(json.load(urllib.request.urlopen(req)), indent=2))\nEOF\n\nGet Connection\npython <<'EOF'\nimport urllib.request, os, json\nreq = urllib.request.Request('https://ctrl.maton.ai/connections/{connection_id}')\nreq.add_header('Authorization', f'Bearer {os.environ[\"MATON_API_KEY\"]}')\nprint(json.dumps(json.load(urllib.request.urlopen(req)), indent=2))\nEOF\n\n\nResponse:\n\n{\n  \"connection\": {\n    \"connection_id\": \"21fd90f9-5935-43cd-b6c8-bde9d915ca80\",\n    \"status\": \"ACTIVE\",\n    \"creation_time\": \"2025-12-08T07:20:53.488460Z\",\n    \"last_updated_time\": \"2026-01-31T20:03:32.593153Z\",\n    \"url\": \"https://connect.maton.ai/?session_token=...\",\n    \"app\": \"woocommerce\",\n    \"metadata\": {}\n  }\n}\n\n\nOpen the returned url in a browser to complete OAuth authorization.\n\nDelete Connection\npython <<'EOF'\nimport urllib.request, os, json\nreq = urllib.request.Request('https://ctrl.maton.ai/connections/{connection_id}', method='DELETE')\nreq.add_header('Authorization', f'Bearer {os.environ[\"MATON_API_KEY\"]}')\nprint(json.dumps(json.load(urllib.request.urlopen(req)), indent=2))\nEOF\n\nSpecifying Connection\n\nIf you have multiple WooCommerce connections, specify which one to use with the Maton-Connection header:\n\npython <<'EOF'\nimport urllib.request, os, json\nreq = urllib.request.Request('https://gateway.maton.ai/woocommerce/wp-json/wc/v3/products')\nreq.add_header('Authorization', f'Bearer {os.environ[\"MATON_API_KEY\"]}')\nreq.add_header('Maton-Connection', '21fd90f9-5935-43cd-b6c8-bde9d915ca80')\nprint(json.dumps(json.load(urllib.request.urlopen(req)), indent=2))\nEOF\n\n\nIf omitted, the gateway uses the default (oldest) active connection.\n\nAPI Reference\nProducts\nList All Products\nGET /woocommerce/wp-json/wc/v3/products\n\n\nQuery parameters:\n\npage - Current page (default: 1)\nper_page - Items per page (default: 10, max: 100)\nsearch - Search by product name\nstatus - Filter by status: draft, pending, private, publish\ntype - Filter by type: simple, grouped, external, variable\nsku - Filter by SKU\ncategory - Filter by category ID\ntag - Filter by tag ID\nfeatured - Filter featured products\non_sale - Filter on-sale products\nmin_price / max_price - Filter by price range\nstock_status - Filter by stock status: instock, outofstock, onbackorder\norderby - Sort by: date, id, include, title, slug, price, popularity, rating\norder - Sort order: asc, desc\n\nExample:\n\ncurl -s -X GET \"https://gateway.maton.ai/woocommerce/wp-json/wc/v3/products?per_page=20&status=publish\" -H \"Authorization: Bearer $MATON_API_KEY\"\n\n\nResponse:\n\n[\n  {\n    \"id\": 123,\n    \"name\": \"Premium T-Shirt\",\n    \"slug\": \"premium-t-shirt\",\n    \"type\": \"simple\",\n    \"status\": \"publish\",\n    \"sku\": \"TSH-001\",\n    \"price\": \"29.99\",\n    \"regular_price\": \"34.99\",\n    \"sale_price\": \"29.99\",\n    \"stock_quantity\": 50,\n    \"stock_status\": \"instock\",\n    \"categories\": [{\"id\": 15, \"name\": \"Apparel\"}],\n    \"images\": [{\"id\": 456, \"src\": \"https://...\"}]\n  }\n]\n\nGet a Product\nGET /woocommerce/wp-json/wc/v3/products/{id}\n\n\nExample:\n\ncurl -s -X GET \"https://gateway.maton.ai/woocommerce/wp-json/wc/v3/products/123\" -H \"Authorization: Bearer $MATON_API_KEY\"\n\nCreate a Product\nPOST /woocommerce/wp-json/wc/v3/products\nContent-Type: application/json\n\n{\n  \"name\": \"New Product\",\n  \"type\": \"simple\",\n  \"regular_price\": \"49.99\",\n  \"description\": \"Full product description\",\n  \"short_description\": \"Brief description\",\n  \"sku\": \"PROD-001\",\n  \"manage_stock\": true,\n  \"stock_quantity\": 100,\n  \"categories\": [{\"id\": 15}],\n  \"images\": [{\"src\": \"https://example.com/image.jpg\"}]\n}\n\n\nExample:\n\ncurl -s -X POST \"https://gateway.maton.ai/woocommerce/wp-json/wc/v3/products\" -H \"Content-Type: application/json\" -H \"Authorization: Bearer $MATON_API_KEY\" -d '{\"name\": \"Premium Widget\", \"type\": \"simple\", \"regular_price\": \"19.99\", \"sku\": \"WDG-001\"}'\n\nUpdate a Product\nPUT /woocommerce/wp-json/wc/v3/products/{id}\n\n\nExample:\n\ncurl -s -X PUT \"https://gateway.maton.ai/woocommerce/wp-json/wc/v3/products/123\" -H \"Content-Type: application/json\" -H \"Authorization: Bearer $MATON_API_KEY\" -d '{\"regular_price\": \"24.99\", \"sale_price\": \"19.99\"}'\n\nDelete a Product\nDELETE /woocommerce/wp-json/wc/v3/products/{id}\n\n\nQuery parameters:\n\nforce - Set to true to permanently delete (default: false moves to trash)\nDuplicate a Product\nPOST /woocommerce/wp-json/wc/v3/products/{id}/duplicate\n\nProduct Variations\n\nFor variable products, manage individual variations:\n\nList Variations\nGET /woocommerce/wp-json/wc/v3/products/{product_id}/variations\n\nCreate Variation\nPOST /woocommerce/wp-json/wc/v3/products/{product_id}/variations\nContent-Type: application/json\n\n{\n  \"regular_price\": \"29.99\",\n  \"sku\": \"TSH-001-RED-M\",\n  \"attributes\": [\n    {\"id\": 1, \"option\": \"Red\"},\n    {\"id\": 2, \"option\": \"Medium\"}\n  ]\n}\n\nUpdate Variation\nPUT /woocommerce/wp-json/wc/v3/products/{product_id}/variations/{id}\n\nDelete Variation\nDELETE /woocommerce/wp-json/wc/v3/products/{product_id}/variations/{id}\n\nBatch Update Variations\nPOST /woocommerce/wp-json/wc/v3/products/{product_id}/variations/batch\n\nProduct Attributes\nList Attributes\nGET /woocommerce/wp-json/wc/v3/products/attributes\n\nCreate Attribute\nPOST /woocommerce/wp-json/wc/v3/products/attributes\nContent-Type: application/json\n\n{\n  \"name\": \"Color\",\n  \"slug\": \"color\",\n  \"type\": \"select\",\n  \"order_by\": \"menu_order\"\n}\n\nGet/Update/Delete Attribute\nGET /woocommerce/wp-json/wc/v3/products/attributes/{id}\nPUT /woocommerce/wp-json/wc/v3/products/attributes/{id}\nDELETE /woocommerce/wp-json/wc/v3/products/attributes/{id}\n\nAttribute Terms\nGET /woocommerce/wp-json/wc/v3/products/attributes/{attribute_id}/terms\nPOST /woocommerce/wp-json/wc/v3/products/attributes/{attribute_id}/terms\nGET /woocommerce/wp-json/wc/v3/products/attributes/{attribute_id}/terms/{id}\nPUT /woocommerce/wp-json/wc/v3/products/attributes/{attribute_id}/terms/{id}\nDELETE /woocommerce/wp-json/wc/v3/products/attributes/{attribute_id}/terms/{id}\n\nProduct Categories\nList Categories\nGET /woocommerce/wp-json/wc/v3/products/categories\n\nCreate Category\nPOST /woocommerce/wp-json/wc/v3/products/categories\nContent-Type: application/json\n\n{\n  \"name\": \"Electronics\",\n  \"parent\": 0,\n  \"description\": \"Electronic products\"\n}\n\nGet/Update/Delete Category\nGET /woocommerce/wp-json/wc/v3/products/categories/{id}\nPUT /woocommerce/wp-json/wc/v3/products/categories/{id}\nDELETE /woocommerce/wp-json/wc/v3/products/categories/{id}\n\nProduct Tags\nGET /woocommerce/wp-json/wc/v3/products/tags\nPOST /woocommerce/wp-json/wc/v3/products/tags\nGET /woocommerce/wp-json/wc/v3/products/tags/{id}\nPUT /woocommerce/wp-json/wc/v3/products/tags/{id}\nDELETE /woocommerce/wp-json/wc/v3/products/tags/{id}\n\nProduct Shipping Classes\nGET /woocommerce/wp-json/wc/v3/products/shipping_classes\nPOST /woocommerce/wp-json/wc/v3/products/shipping_classes\nGET /woocommerce/wp-json/wc/v3/products/shipping_classes/{id}\nPUT /woocommerce/wp-json/wc/v3/products/shipping_classes/{id}\nDELETE /woocommerce/wp-json/wc/v3/products/shipping_classes/{id}\n\nProduct Reviews\nList Reviews\nGET /woocommerce/wp-json/wc/v3/products/reviews\n\n\nQuery parameters:\n\nproduct - Filter by product ID\nstatus - Filter by status: approved, hold, spam, trash\nCreate Review\nPOST /woocommerce/wp-json/wc/v3/products/reviews\nContent-Type: application/json\n\n{\n  \"product_id\": 123,\n  \"review\": \"Great product!\",\n  \"reviewer\": \"John Doe\",\n  \"reviewer_email\": \"john@example.com\",\n  \"rating\": 5\n}\n\nGet/Update/Delete Review\nGET /woocommerce/wp-json/wc/v3/products/reviews/{id}\nPUT /woocommerce/wp-json/wc/v3/products/reviews/{id}\nDELETE /woocommerce/wp-json/wc/v3/products/reviews/{id}\n\nOrders\nList All Orders\nGET /woocommerce/wp-json/wc/v3/orders\n\n\nQuery parameters:\n\npage - Current page (default: 1)\nper_page - Items per page (default: 10)\nsearch - Search orders\nafter / before - Filter by date (ISO8601)\nstatus - Order status (see below)\ncustomer - Filter by customer ID\nproduct - Filter by product ID\norderby - Sort by: date, id, include, title, slug\norder - Sort order: asc, desc\n\nOrder Statuses:\n\npending - Payment pending\nprocessing - Payment received, awaiting fulfillment\non-hold - Awaiting payment confirmation\ncompleted - Order fulfilled\ncancelled - Cancelled by admin or customer\nrefunded - Fully refunded\nfailed - Payment failed\n\nExample:\n\ncurl -s -X GET \"https://gateway.maton.ai/woocommerce/wp-json/wc/v3/orders?status=processing&per_page=50\" -H \"Authorization: Bearer $MATON_API_KEY\"\n\n\nResponse:\n\n[\n  {\n    \"id\": 456,\n    \"status\": \"processing\",\n    \"currency\": \"USD\",\n    \"total\": \"129.99\",\n    \"customer_id\": 12,\n    \"billing\": {\n      \"first_name\": \"John\",\n      \"last_name\": \"Doe\",\n      \"email\": \"john@example.com\"\n    },\n    \"line_items\": [\n      {\n        \"id\": 789,\n        \"product_id\": 123,\n        \"name\": \"Premium T-Shirt\",\n        \"quantity\": 2,\n        \"total\": \"59.98\"\n      }\n    ]\n  }\n]\n\nGet an Order\nGET /woocommerce/wp-json/wc/v3/orders/{id}\n\nCreate an Order\nPOST /woocommerce/wp-json/wc/v3/orders\nContent-Type: application/json\n\n{\n  \"payment_method\": \"stripe\",\n  \"payment_method_title\": \"Credit Card\",\n  \"set_paid\": true,\n  \"billing\": {\n    \"first_name\": \"John\",\n    \"last_name\": \"Doe\",\n    \"address_1\": \"123 Main St\",\n    \"city\": \"Anytown\",\n    \"state\": \"CA\",\n    \"postcode\": \"12345\",\n    \"country\": \"US\",\n    \"email\": \"john@example.com\",\n    \"phone\": \"555-1234\"\n  },\n  \"shipping\": {\n    \"first_name\": \"John\",\n    \"last_name\": \"Doe\",\n    \"address_1\": \"123 Main St\",\n    \"city\": \"Anytown\",\n    \"state\": \"CA\",\n    \"postcode\": \"12345\",\n    \"country\": \"US\"\n  },\n  \"line_items\": [\n    {\n      \"product_id\": 123,\n      \"quantity\": 2\n    }\n  ]\n}\n\nUpdate an Order\nPUT /woocommerce/wp-json/wc/v3/orders/{id}\n\n\nExample - Update order status:\n\ncurl -s -X PUT \"https://gateway.maton.ai/woocommerce/wp-json/wc/v3/orders/456\" -H \"Content-Type: application/json\" -H \"Authorization: Bearer $MATON_API_KEY\" -d '{\"status\": \"completed\"}'\n\nDelete an Order\nDELETE /woocommerce/wp-json/wc/v3/orders/{id}\n\nOrder Notes\nList Order Notes\nGET /woocommerce/wp-json/wc/v3/orders/{order_id}/notes\n\nCreate Order Note\nPOST /woocommerce/wp-json/wc/v3/orders/{order_id}/notes\nContent-Type: application/json\n\n{\n  \"note\": \"Order shipped via FedEx, tracking #12345\",\n  \"customer_note\": true\n}\n\ncustomer_note: Set to true to make the note visible to the customer\nGet/Delete Order Note\nGET /woocommerce/wp-json/wc/v3/orders/{order_id}/notes/{id}\nDELETE /woocommerce/wp-json/wc/v3/orders/{order_id}/notes/{id}\n\nOrder Refunds\nList Refunds\nGET /woocommerce/wp-json/wc/v3/orders/{order_id}/refunds\n\nCreate Refund\nPOST /woocommerce/wp-json/wc/v3/orders/{order_id}/refunds\nContent-Type: application/json\n\n{\n  \"amount\": \"25.00\",\n  \"reason\": \"Product damaged during shipping\",\n  \"api_refund\": true\n}\n\napi_refund: Set to true to process refund through payment gateway\nGet/Delete Refund\nGET /woocommerce/wp-json/wc/v3/orders/{order_id}/refunds/{id}\nDELETE /woocommerce/wp-json/wc/v3/orders/{order_id}/refunds/{id}\n\nCustomers\nList All Customers\nGET /woocommerce/wp-json/wc/v3/customers\n\n\nQuery parameters:\n\npage - Current page (default: 1)\nper_page - Items per page (default: 10)\nsearch - Search by name or email\nemail - Filter by exact email\nrole - Filter by role: all, administrator, customer, shop_manager\norderby - Sort by: id, include, name, registered_date\norder - Sort order: asc, desc\n\nExample:\n\ncurl -s -X GET \"https://gateway.maton.ai/woocommerce/wp-json/wc/v3/customers?per_page=25\" -H \"Authorization: Bearer $MATON_API_KEY\"\n\n\nResponse:\n\n[\n  {\n    \"id\": 12,\n    \"email\": \"john@example.com\",\n    \"first_name\": \"John\",\n    \"last_name\": \"Doe\",\n    \"username\": \"johndoe\",\n    \"billing\": {\n      \"first_name\": \"John\",\n      \"last_name\": \"Doe\",\n      \"address_1\": \"123 Main St\",\n      \"city\": \"Anytown\",\n      \"state\": \"CA\",\n      \"postcode\": \"12345\",\n      \"country\": \"US\",\n      \"email\": \"john@example.com\",\n      \"phone\": \"555-1234\"\n    },\n    \"shipping\": {\n      \"first_name\": \"John\",\n      \"last_name\": \"Doe\",\n      \"address_1\": \"123 Main St\",\n      \"city\": \"Anytown\",\n      \"state\": \"CA\",\n      \"postcode\": \"12345\",\n      \"country\": \"US\"\n    }\n  }\n]\n\nGet a Customer\nGET /woocommerce/wp-json/wc/v3/customers/{id}\n\nCreate a Customer\nPOST /woocommerce/wp-json/wc/v3/customers\nContent-Type: application/json\n\n{\n  \"email\": \"jane@example.com\",\n  \"first_name\": \"Jane\",\n  \"last_name\": \"Smith\",\n  \"username\": \"janesmith\",\n  \"password\": \"secure_password\",\n  \"billing\": {\n    \"first_name\": \"Jane\",\n    \"last_name\": \"Smith\",\n    \"address_1\": \"456 Oak Ave\",\n    \"city\": \"Springfield\",\n    \"state\": \"IL\",\n    \"postcode\": \"62701\",\n    \"country\": \"US\",\n    \"email\": \"jane@example.com\",\n    \"phone\": \"555-5678\"\n  }\n}\n\nUpdate a Customer\nPUT /woocommerce/wp-json/wc/v3/customers/{id}\n\nDelete a Customer\nDELETE /woocommerce/wp-json/wc/v3/customers/{id}\n\nCustomer Downloads\nGET /woocommerce/wp-json/wc/v3/customers/{customer_id}/downloads\n\n\nReturns downloadable products the customer has access to.\n\nCoupons\nList All Coupons\nGET /woocommerce/wp-json/wc/v3/coupons\n\n\nQuery parameters:\n\npage - Current page (default: 1)\nper_page - Items per page (default: 10)\nsearch - Search coupons\ncode - Filter by coupon code\nGet a Coupon\nGET /woocommerce/wp-json/wc/v3/coupons/{id}\n\nCreate a Coupon\nPOST /woocommerce/wp-json/wc/v3/coupons\nContent-Type: application/json\n\n{\n  \"code\": \"SUMMER2024\",\n  \"discount_type\": \"percent\",\n  \"amount\": \"15\",\n  \"description\": \"Summer promotion - 15% off\",\n  \"date_expires\": \"2024-08-31T23:59:59\",\n  \"individual_use\": true,\n  \"usage_limit\": 100,\n  \"usage_limit_per_user\": 1,\n  \"minimum_amount\": \"50.00\",\n  \"maximum_amount\": \"500.00\",\n  \"free_shipping\": false,\n  \"exclude_sale_items\": true\n}\n\n\nDiscount Types:\n\npercent - Percentage discount\nfixed_cart - Fixed amount off entire cart\nfixed_product - Fixed amount off per product\n\nCoupon Properties:\n\ncode - Coupon code (required)\namount - Discount amount\ndiscount_type - Type of discount\ndescription - Coupon description\ndate_expires - Expiration date (ISO8601)\nindividual_use - Cannot be combined with other coupons\nproduct_ids - Array of product IDs the coupon applies to\nexcluded_product_ids - Array of product IDs excluded\nusage_limit - Total number of times coupon can be used\nusage_limit_per_user - Usage limit per customer\nlimit_usage_to_x_items - Max items the discount applies to\nfree_shipping - Enables free shipping\nproduct_categories - Array of category IDs\nexcluded_product_categories - Array of excluded category IDs\nexclude_sale_items - Exclude sale items from discount\nminimum_amount - Minimum cart total required\nmaximum_amount - Maximum cart total allowed\nemail_restrictions - Array of allowed email addresses\nUpdate a Coupon\nPUT /woocommerce/wp-json/wc/v3/coupons/{id}\n\nDelete a Coupon\nDELETE /woocommerce/wp-json/wc/v3/coupons/{id}\n\nTaxes\nTax Rates\nGET /woocommerce/wp-json/wc/v3/taxes\nPOST /woocommerce/wp-json/wc/v3/taxes\nGET /woocommerce/wp-json/wc/v3/taxes/{id}\nPUT /woocommerce/wp-json/wc/v3/taxes/{id}\nDELETE /woocommerce/wp-json/wc/v3/taxes/{id}\nPOST /woocommerce/wp-json/wc/v3/taxes/batch\n\n\nCreate Tax Rate Example:\n\ncurl -s -X POST \"https://gateway.maton.ai/woocommerce/wp-json/wc/v3/taxes\" -H \"Content-Type: application/json\" -H \"Authorization: Bearer $MATON_API_KEY\" -d '{\"country\": \"US\", \"state\": \"CA\", \"rate\": \"7.25\", \"name\": \"CA State Tax\", \"shipping\": true}'\n\nTax Classes\nGET /woocommerce/wp-json/wc/v3/taxes/classes\nPOST /woocommerce/wp-json/wc/v3/taxes/classes\nDELETE /woocommerce/wp-json/wc/v3/taxes/classes/{slug}\n\nShipping\nShipping Zones\nGET /woocommerce/wp-json/wc/v3/shipping/zones\nPOST /woocommerce/wp-json/wc/v3/shipping/zones\nGET /woocommerce/wp-json/wc/v3/shipping/zones/{id}\nPUT /woocommerce/wp-json/wc/v3/shipping/zones/{id}\nDELETE /woocommerce/wp-json/wc/v3/shipping/zones/{id}\n\n\nCreate Shipping Zone Example:\n\ncurl -s -X POST \"https://gateway.maton.ai/woocommerce/wp-json/wc/v3/shipping/zones\" -H \"Content-Type: application/json\" -H \"Authorization: Bearer $MATON_API_KEY\" -d '{\"name\": \"US West Coast\", \"order\": 1}'\n\nShipping Zone Locations\nGET /woocommerce/wp-json/wc/v3/shipping/zones/{zone_id}/locations\nPUT /woocommerce/wp-json/wc/v3/shipping/zones/{zone_id}/locations\n\n\nUpdate Zone Locations Example:\n\ncurl -s -X PUT \"https://gateway.maton.ai/woocommerce/wp-json/wc/v3/shipping/zones/1/locations\" -H \"Content-Type: application/json\" -H \"Authorization: Bearer $MATON_API_KEY\" -d '[{\"code\": \"US:CA\", \"type\": \"state\"}, {\"code\": \"US:OR\", \"type\": \"state\"}, {\"code\": \"US:WA\", \"type\": \"state\"}]'\n\nShipping Zone Methods\nGET /woocommerce/wp-json/wc/v3/shipping/zones/{zone_id}/methods\nPOST /woocommerce/wp-json/wc/v3/shipping/zones/{zone_id}/methods\nGET /woocommerce/wp-json/wc/v3/shipping/zones/{zone_id}/methods/{id}\nPUT /woocommerce/wp-json/wc/v3/shipping/zones/{zone_id}/methods/{id}\nDELETE /woocommerce/wp-json/wc/v3/shipping/zones/{zone_id}/methods/{id}\n\nShipping Methods (Global)\nGET /woocommerce/wp-json/wc/v3/shipping_methods\nGET /woocommerce/wp-json/wc/v3/shipping_methods/{id}\n\nPayment Gateways\nGET /woocommerce/wp-json/wc/v3/payment_gateways\nGET /woocommerce/wp-json/wc/v3/payment_gateways/{id}\nPUT /woocommerce/wp-json/wc/v3/payment_gateways/{id}\n\n\nExample - Enable a Payment Gateway:\n\ncurl -s -X PUT \"https://gateway.maton.ai/woocommerce/wp-json/wc/v3/payment_gateways/stripe\" -H \"Content-Type: application/json\" -H \"Authorization: Bearer $MATON_API_KEY\" -d '{\"enabled\": true}'\n\nSettings\nList Settings Groups\nGET /woocommerce/wp-json/wc/v3/settings\n\nList Settings in a Group\nGET /woocommerce/wp-json/wc/v3/settings/{group}\n\n\nCommon groups: general, products, tax, shipping, checkout, account, email\n\nGet/Update a Setting\nGET /woocommerce/wp-json/wc/v3/settings/{group}/{id}\nPUT /woocommerce/wp-json/wc/v3/settings/{group}/{id}\n\n\nExample - Update Store Address:\n\ncurl -s -X PUT \"https://gateway.maton.ai/woocommerce/wp-json/wc/v3/settings/general/woocommerce_store_address\" -H \"Content-Type: application/json\" -H \"Authorization: Bearer $MATON_API_KEY\" -d '{\"value\": \"123 Commerce St\"}'\n\nBatch Update Settings\nPOST /woocommerce/wp-json/wc/v3/settings/{group}/batch\n\nWebhooks\nList All Webhooks\nGET /woocommerce/wp-json/wc/v3/webhooks\n\nCreate a Webhook\nPOST /woocommerce/wp-json/wc/v3/webhooks\nContent-Type: application/json\n\n{\n  \"name\": \"Order Created\",\n  \"topic\": \"order.created\",\n  \"delivery_url\": \"https://example.com/webhooks/woocommerce\",\n  \"status\": \"active\"\n}\n\n\nWebhook Topics:\n\norder.created, order.updated, order.deleted, order.restored\nproduct.created, product.updated, product.deleted, product.restored\ncustomer.created, customer.updated, customer.deleted\ncoupon.created, coupon.updated, coupon.deleted, coupon.restored\nGet/Update/Delete Webhook\nGET /woocommerce/wp-json/wc/v3/webhooks/{id}\nPUT /woocommerce/wp-json/wc/v3/webhooks/{id}\nDELETE /woocommerce/wp-json/wc/v3/webhooks/{id}\n\nReports\nList Available Reports\nGET /woocommerce/wp-json/wc/v3/reports\n\nSales Report\nGET /woocommerce/wp-json/wc/v3/reports/sales\n\n\nQuery parameters:\n\nperiod - Report period: week, month, last_month, year\ndate_min / date_max - Custom date range\nTop Sellers Report\nGET /woocommerce/wp-json/wc/v3/reports/top_sellers\n\nCoupons Totals\nGET /woocommerce/wp-json/wc/v3/reports/coupons/totals\n\nCustomers Totals\nGET /woocommerce/wp-json/wc/v3/reports/customers/totals\n\nOrders Totals\nGET /woocommerce/wp-json/wc/v3/reports/orders/totals\n\nProducts Totals\nGET /woocommerce/wp-json/wc/v3/reports/products/totals\n\nReviews Totals\nGET /woocommerce/wp-json/wc/v3/reports/reviews/totals\n\nData\nList All Data Endpoints\nGET /woocommerce/wp-json/wc/v3/data\n\nContinents\nGET /woocommerce/wp-json/wc/v3/data/continents\nGET /woocommerce/wp-json/wc/v3/data/continents/{code}\n\nCountries\nGET /woocommerce/wp-json/wc/v3/data/countries\nGET /woocommerce/wp-json/wc/v3/data/countries/{code}\n\nCurrencies\nGET /woocommerce/wp-json/wc/v3/data/currencies\nGET /woocommerce/wp-json/wc/v3/data/currencies/{code}\nGET /woocommerce/wp-json/wc/v3/data/currencies/current\n\nSystem Status\nGET /woocommerce/wp-json/wc/v3/system_status\nGET /woocommerce/wp-json/wc/v3/system_status/tools\nPOST /woocommerce/wp-json/wc/v3/system_status/tools/{id}\n\nBatch Operations\n\nMost resources support batch operations for creating, updating, and deleting multiple items:\n\nPOST /woocommerce/wp-json/wc/v3/{resource}/batch\nContent-Type: application/json\n\n{\n  \"create\": [\n    {\"name\": \"New Product 1\", \"regular_price\": \"19.99\"},\n    {\"name\": \"New Product 2\", \"regular_price\": \"29.99\"}\n  ],\n  \"update\": [\n    {\"id\": 123, \"regular_price\": \"24.99\"}\n  ],\n  \"delete\": [456, 789]\n}\n\n\nResponse:\n\n{\n  \"create\": [...],\n  \"update\": [...],\n  \"delete\": [...]\n}\n\nPagination\n\nWooCommerce uses page-based pagination with response headers:\n\nQuery Parameters:\n\npage - Page number (default: 1)\nper_page - Items per page (default: 10, max: 100)\noffset - Offset to start from\n\nResponse Headers:\n\nX-WP-Total - Total number of items\nX-WP-TotalPages - Total number of pages\nLink - Contains next, prev, first, last pagination links\n\nExample:\n\ncurl -s -I -X GET \"https://gateway.maton.ai/woocommerce/wp-json/wc/v3/products?page=2&per_page=25\" -H \"Authorization: Bearer $MATON_API_KEY\"\n\nCode Examples\nJavaScript\nconst response = await fetch(\n  'https://gateway.maton.ai/woocommerce/wp-json/wc/v3/orders?status=processing',\n  {\n    headers: {\n      'Authorization': `Bearer ${process.env.MATON_API_KEY}`\n    }\n  }\n);\nconst orders = await response.json();\n\nPython\nimport os\nimport requests\n\nresponse = requests.get(\n    'https://gateway.maton.ai/woocommerce/wp-json/wc/v3/products',\n    headers={'Authorization': f'Bearer {os.environ[\"MATON_API_KEY\"]}'},\n    params={'per_page': 50, 'status': 'publish'}\n)\nproducts = response.json()\n\nCreating an Order with Line Items\nimport os\nimport requests\n\norder_data = {\n    \"payment_method\": \"stripe\",\n    \"set_paid\": True,\n    \"billing\": {\n        \"first_name\": \"John\",\n        \"last_name\": \"Doe\",\n        \"email\": \"john@example.com\",\n        \"address_1\": \"123 Main St\",\n        \"city\": \"Anytown\",\n        \"state\": \"CA\",\n        \"postcode\": \"12345\",\n        \"country\": \"US\"\n    },\n    \"line_items\": [\n        {\"product_id\": 123, \"quantity\": 2},\n        {\"product_id\": 456, \"quantity\": 1}\n    ]\n}\n\nresponse = requests.post(\n    'https://gateway.maton.ai/woocommerce/wp-json/wc/v3/orders',\n    headers={\n        'Authorization': f'Bearer {os.environ[\"MATON_API_KEY\"]}',\n        'Content-Type': 'application/json'\n    },\n    json=order_data\n)\norder = response.json()\n\nNotes\nAll monetary amounts are returned as strings with two decimal places\nDates are in ISO8601 format: YYYY-MM-DDTHH:MM:SS\nResource IDs are integers\nThe API requires \"pretty permalinks\" enabled in WordPress\nUse context=edit parameter for additional writable fields\nIMPORTANT: When using curl commands, use curl -g when URLs contain brackets (fields[], sort[], records[]) to disable glob parsing\nIMPORTANT: When piping curl output to jq or other commands, environment variables like $MATON_API_KEY may not expand correctly in some shell environments. You may get \"Invalid API key\" errors when piping.\nError Handling\nStatus\tMeaning\n400\tBad request or invalid data\n401\tInvalid or missing authentication\n403\tForbidden - insufficient permissions\n404\tResource not found\n500\tInternal server error\n\nError Response Format:\n\n{\n  \"code\": \"woocommerce_rest_invalid_id\",\n  \"message\": \"Invalid ID.\",\n  \"data\": {\n    \"status\": 404\n  }\n}\n\nTroubleshooting: API Key Issues\nCheck that the MATON_API_KEY environment variable is set:\necho $MATON_API_KEY\n\nVerify the API key is valid by listing connections:\npython <<'EOF'\nimport urllib.request, os, json\nreq = urllib.request.Request('https://ctrl.maton.ai/connections')\nreq.add_header('Authorization', f'Bearer {os.environ[\"MATON_API_KEY\"]}')\nprint(json.dumps(json.load(urllib.request.urlopen(req)), indent=2))\nEOF\n\nTroubleshooting: Invalid App Name\nEnsure your URL path starts with woocommerce. For example:\nCorrect: https://gateway.maton.ai/woocommerce/wp-json/wc/v3/products\nIncorrect: https://gateway.maton.ai/wp-json/wc/v3/products\nResources\nGeneral\nWooCommerce REST API Documentation\nAPI Authentication Guide\nWooCommerce Developer Resources\nProducts\nProducts\nProduct Variations\nProduct Attributes\nProduct Attribute Terms\nProduct Categories\nProduct Tags\nProduct Shipping Classes\nProduct Reviews\nOrders\nOrders\nOrder Notes\nRefunds\nCustomers\nCustomers\nCoupons\nCoupons\nTaxes\nTax Rates\nTax Classes\nShipping\nShipping Zones\nShipping Zone Locations\nShipping Zone Methods\nShipping Methods\nPayments & Settings\nPayment Gateways\nSettings\nSetting Options\nWebhooks\nWebhooks\nReports\nReports\nSales Reports\nTop Sellers Report\nCoupons Totals\nCustomers Totals\nOrders Totals\nProducts Totals\nReviews Totals\nData\nData\nContinents\nCountries\nCurrencies\nSystem\nSystem Status\nSystem Status Tools\nMaton Community\nMaton Support"
  },
  "trust": {
    "sourceLabel": "tencent",
    "provenanceUrl": "https://clawhub.ai/byungkyu/woocommerce",
    "publisherUrl": "https://clawhub.ai/byungkyu/woocommerce",
    "owner": "byungkyu",
    "version": "1.0.3",
    "license": null,
    "verificationStatus": "Indexed source record"
  },
  "links": {
    "detailUrl": "https://openagent3.xyz/skills/woocommerce",
    "downloadUrl": "https://openagent3.xyz/downloads/woocommerce",
    "agentUrl": "https://openagent3.xyz/skills/woocommerce/agent",
    "manifestUrl": "https://openagent3.xyz/skills/woocommerce/agent.json",
    "briefUrl": "https://openagent3.xyz/skills/woocommerce/agent.md"
  }
}