Skip to content

Get a single product by ID (storefront callers see active, non-deleted products only)​

GET
/rest/v1/product/product/{id}

Storefront callers — guest (no token) and customer — can only retrieve active, non-deleted products: requesting an inactive (active = 0) or soft-deleted (soft_delete = 1) product by ID returns 404 rather than the row. Backend callers are unaffected and retrieve both normally.

Parameters​

Path Parameters

id*

ID of the product to retrieve

Type
integer
Required
Format
"int64"

Query Parameters

with

With relations

Type
string

Responses​

Successful operation

application/json
JSON
"string"

Playground​

Variables
Key
Value

Samples​

Powered by VitePress OpenAPI