woo_get_product

Pack: woocommerce · Endpoint: https://gateway.pipeworx.io/woocommerce/mcp

Get a single product by ID from a WooCommerce store.

Parameters

NameTypeRequiredDescription
_apiKeystringyesWooCommerce consumer key
_apiSecretstringyesWooCommerce consumer secret
_storeUrlstringyesStore URL (e.g., https://mystore.com)
idnumberyesProduct ID

Example call

Arguments

{
  "_apiKey": "your-woocommerce-api-key",
  "_apiSecret": "your-woocommerce-api-secret",
  "_storeUrl": "https://mystore.com",
  "id": 123
}

curl

curl -X POST https://gateway.pipeworx.io/woocommerce/mcp \
  -H 'Content-Type: application/json' \
  -d '{"jsonrpc":"2.0","id":1,"method":"tools/call","params":{"name":"woo_get_product","arguments":{"_apiKey":"your-woocommerce-api-key","_apiSecret":"your-woocommerce-api-secret","_storeUrl":"https://mystore.com","id":123}}}'

TypeScript (@pipeworx/sdk)

import { Pipeworx } from '@pipeworx/sdk';
const pipeworx = new Pipeworx();

const result = await pipeworx.call('woo_get_product', {
  "_apiKey": "your-woocommerce-api-key",
  "_apiSecret": "your-woocommerce-api-secret",
  "_storeUrl": "https://mystore.com",
  "id": 123
});

Response shape

FieldTypeDescription
idnumberProduct ID
namestringProduct name
slugstringProduct slug
permalinkstringProduct permalink
date_createdstringCreation date in ISO format
date_modifiedstringLast modified date in ISO format
typestringProduct type
statusstringProduct status
featuredbooleanWhether product is featured
catalog_visibilitystringCatalog visibility
descriptionstringProduct description
short_descriptionstringShort product description
skustringProduct SKU
pricestringProduct price
regular_pricestringRegular price
sale_pricestringSale price
total_salesnumberTotal sales count
tax_statusstringTax status
tax_classstringTax class
stock_quantityinteger | nullStock quantity
stock_statusstringStock status
Full JSON Schema
{
  "type": "object",
  "description": "Single product object from WooCommerce",
  "properties": {
    "id": {
      "type": "number",
      "description": "Product ID"
    },
    "name": {
      "type": "string",
      "description": "Product name"
    },
    "slug": {
      "type": "string",
      "description": "Product slug"
    },
    "permalink": {
      "type": "string",
      "description": "Product permalink"
    },
    "date_created": {
      "type": "string",
      "description": "Creation date in ISO format"
    },
    "date_modified": {
      "type": "string",
      "description": "Last modified date in ISO format"
    },
    "type": {
      "type": "string",
      "description": "Product type"
    },
    "status": {
      "type": "string",
      "description": "Product status"
    },
    "featured": {
      "type": "boolean",
      "description": "Whether product is featured"
    },
    "catalog_visibility": {
      "type": "string",
      "description": "Catalog visibility"
    },
    "description": {
      "type": "string",
      "description": "Product description"
    },
    "short_description": {
      "type": "string",
      "description": "Short product description"
    },
    "sku": {
      "type": "string",
      "description": "Product SKU"
    },
    "price": {
      "type": "string",
      "description": "Product price"
    },
    "regular_price": {
      "type": "string",
      "description": "Regular price"
    },
    "sale_price": {
      "type": "string",
      "description": "Sale price"
    },
    "total_sales": {
      "type": "number",
      "description": "Total sales count"
    },
    "tax_status": {
      "type": "string",
      "description": "Tax status"
    },
    "tax_class": {
      "type": "string",
      "description": "Tax class"
    },
    "stock_quantity": {
      "type": [
        "integer",
        "null"
      ],
      "description": "Stock quantity"
    },
    "stock_status": {
      "type": "string",
      "description": "Stock status"
    }
  }
}

Connect

Add this to your MCP client config, or use one-click install buttons:

{
  "mcpServers": {
    "woocommerce": {
      "url": "https://gateway.pipeworx.io/woocommerce/mcp"
    }
  }
}

See Getting Started for client-specific install steps.

Regenerated from source · build May 9, 2026