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
- 200
- 401
- 403
- 404
- 429
OK. The single product.
Response Headers
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.
Unauthorized. Missing, malformed, unknown, revoked, or expired bearer token — or the token owner no longer holds the required entitlement (ENTITLEMENT_LOST). A uniform problem body is returned with a distinct code; no owner/condition detail (no-leak).
Forbidden. The token does not carry the required scope (API_TOKEN_SCOPE_DENIED).
Not Found. No product matched the identifier (PRODUCT_NOT_FOUND). A cross-tenant id returns this SAME uniform 404 (no-leak).
Too Many Requests. The per-token sliding window of 200 requests/minute was exceeded. The body is express-rate-limit's DEFAULT plain-text message (NOT the JSON problem+json envelope).
Response Headers
IETF draft-7 rate-limit policy/state (limit, remaining, reset).
Seconds to wait before retrying.