Skip to main content

Get a single product by id

GET 

/products/:id

Returns the single product with the given stable Mocart product document id. Add ?expand=details for the optional Product keys. The strong ETag header identifies the product state; it is sent on the plain read only, and If-None-Match answers 304.

Request​

Responses​

OK. The single product.

Response Headers
    ETag

    Strong hash of the product state, sent only on the plain representation (no ?expand=details). Registry names are not part of it, so renaming a category never changes it.