---
updatedAt: 2026-06-19T16:07:00.000Z
---

# Get a single product (WooCommerce)

<p>Searches for a selected product and shows the detailed information.</p>

**Important information:**

<ul><li><p><a href="https://docs.ecartapi.com/?version=latest#a234bc8a-0fcc-4786-824f-a6c1f0e06715"><b>The product's ID must exist</b></a></p></li></ul>

# OpenAPI definition

```json
{
  "openapi": "3.0.0",
  "info": {
    "version": "1.0.0",
    "title": "WooCommerce"
  },
  "servers": [
    {
      "url": "https://api.ecartapi.com/api/v2"
    }
  ],
  "paths": {
    "/products/{productId}": {
      "get": {
        "summary": "Get a single product (WooCommerce)",
        "description": "<p>Searches for a selected product and shows the detailed information.</p>\n\n**Important information:**\n\n<ul><li><p><a href=\"https://docs.ecartapi.com/?version=latest#a234bc8a-0fcc-4786-824f-a6c1f0e06715\"><b>The product's ID must exist</b></a></p></li></ul>",
        "operationId": "get_single_product_woocommerce",
        "responses": {
          "200": {
            "description": "Successful response",
            "content": {
              "application/json": {
                "examples": {
                  "OK": {
                    "summary": "OK",
                    "value": {
                      "success": true,
                      "product": {
                        "id": "119",
                        "sku": "abc122010",
                        "name": "Test Product 10",
                        "subName": null,
                        "upc": null,
                        "description": null,
                        "currency": "USD",
                        "productType": "simple",
                        "quantity": "188",
                        "price": "17",
                        "cost": null,
                        "discount": null,
                        "dimensions": {
                          "width": "10",
                          "height": "10",
                          "length": "10",
                          "weight": "1"
                        },
                        "units": {
                          "width": null,
                          "height": null,
                          "length": null,
                          "weight": null
                        },
                        "category": {
                          "id": "15",
                          "name": "Uncategorized",
                          "all": [
                            {
                              "id": "15",
                              "name": "Uncategorized"
                            }
                          ]
                        },
                        "tags": [
                          "test",
                          "test2"
                        ],
                        "status": {
                          "id": null,
                          "visibility": "visible",
                          "active": "inactive",
                          "status": "publish",
                          "ecartapiId": "1",
                          "ecartapi": "active",
                          "hasOptions": null
                        },
                        "variants": [
                          {
                            "id": "120",
                            "productId": "119",
                            "barcode": null,
                            "name": "<p>Short description</p>\n",
                            "price": "17",
                            "currency": null,
                            "sku": "abc122010",
                            "fulfillmentService": null,
                            "option1": "Blue",
                            "option2": "S",
                            "option3": null,
                            "dimensions": {
                              "width": "10",
                              "height": "10",
                              "length": "10",
                              "weight": "1"
                            },
                            "units": {
                              "width": null,
                              "height": null,
                              "length": null,
                              "weight": null
                            },
                            "inventory": {
                              "itemId": null,
                              "quantity": "188"
                            },
                            "status": {
                              "active": null
                            },
                            "requireShipping": null,
                            "bundled": null,
                            "imageId": "118",
                            "imageUrl": null,
                            "dates": {
                              "createdAt": "2023-01-11T18:28:46",
                              "updatedAt": "2023-01-11T18:28:46"
                            },
                            "ecartapiUrl": "http://localhost:3000/api/v2/products/119/variants/120"
                          }
                        ],
                        "options": [
                          {
                            "id": "1",
                            "name": "Color",
                            "values": [
                              "Blue",
                              "Red"
                            ]
                          },
                          {
                            "id": "0",
                            "name": "Size",
                            "values": [
                              "S",
                              "M"
                            ]
                          }
                        ],
                        "associatedItems": [],
                        "logistic": {
                          "mode": null,
                          "type": null,
                          "free": "false",
                          "direction": null,
                          "dimensions": null
                        },
                        "images": [
                          {
                            "id": "118",
                            "url": "https://woocommerce3.envia.com/wp-content/uploads/2023/01/T_2_front-21.jpg",
                            "variantIds": [],
                            "ecartapiUrl": "http://localhost:3000/api/v2/products/119/images/118"
                          }
                        ],
                        "imageUrl": "https://woocommerce3.envia.com/wp-content/uploads/2023/01/T_2_front-21.jpg",
                        "condition": null,
                        "link": "https://woocommerce3.envia.com/product/test-product-10/",
                        "dates": {
                          "createdAt": "2023-01-11T18:28:41",
                          "updatedAt": "2023-01-11T18:28:41"
                        },
                        "vendor": null,
                        "sellOutStock": true
                      }
                    }
                  }
                }
              }
            }
          }
        },
        "security": [
          {
            "Authorization": []
          }
        ],
        "parameters": [
          {
            "in": "path",
            "name": "productId",
            "required": true,
            "schema": {
              "type": "string"
            },
            "description": "The unique identifier of the product."
          }
        ]
      }
    }
  },
  "components": {
    "securitySchemes": {
      "Authorization": {
        "type": "apiKey",
        "in": "header",
        "name": "Authorization",
        "description": "Used to authenticate API requests after completing the store authorization or integration process. The access_token is generated once the e-commerce store grants access and must be included in every request header to validate the authorized connection."
      }
    }
  },
  "x-readme": {
    "explorer-enabled": true,
    "proxy-enabled": true
  },
  "security": [
    {
      "Authorization": []
    }
  ]
}
```