v1

latestOpenAPI 3.0.02026-07-226950132.6 KB
products

Get single product

Gets a single product by ID or SKU.

get/products/{id}

Path parameters

idstring required

Unique identifier for the product (ID or SKU).

Response

Product retrieved successfully.

idinteger

Unique identifier for the product

parent_idinteger

Product parent ID

namestring

Product name

type'simple' | 'grouped' | 'external' | 'variable'

Product type

slugstring

Product slug

permalinkstring

Product URL

skustring

Unique identifier (SKU)

descriptionstring

Product description

short_descriptionstring

Product short description

featuredboolean

Whether the product is featured

average_ratingstring

Average rating

review_countinteger

Number of reviews

rating_countinteger

Number of ratings

rated_out_ofstring

Maximum rating value (formatted)

grouped_productsinteger[]

Grouped product IDs

total_salesinteger

Total number of sales

external_urlstring

External product URL (for external product type)

button_textstring

External product button text (for external product type)