API overview
Read an active product
Choose an operation to see its request, response shape, access rules and implementation source.
ReadPublic
GET/api/v1/products/{slug}
Read an active product
No auth:sanctum or bearer ability is required by this route.
Request
| Field | In | Rule |
|---|---|---|
slug | Path parameter | Required active resource slug, not a numeric ID. |
No request body.
curl --request GET "https://shop.example.test/api/v1/products/example-slug" \
--header 'Accept: application/json'Response200
Success: 200
Response shape (notation, not a captured response)
{ data: Product }Common errors
| HTTP status | Meaning |
|---|---|
404 | not_found: missing, inactive or foreign-owned resource. |
429 | rate_limited: back off before retrying, especially writes. |