Light Docs

Find a product by ID

GET
/products/{product}

Authorization

bearerAuth

Path Parameters

product*integer

The product ID

Response Body

application/json

application/json

application/json

curl -X GET "http://localhost:8000/api/products/0"
{
  "data": {
    "id": 0,
    "name": "string",
    "description": "string",
    "slug": "string",
    "discount": "string",
    "cover_image": "string",
    "created_at": "2019-08-24T14:15:22Z",
    "updated_at": "2019-08-24T14:15:22Z",
    "long_description": "string",
    "featured": "string",
    "gallery_images": [
      null
    ],
    "user_id": 0,
    "category_id": 0,
    "hidden": "string",
    "addon_to": 0,
    "disabled": "string",
    "free": "string",
    "vendor_id": 0,
    "placeholder_injection": "string",
    "tags": [
      null
    ],
    "deleted_at": "2019-08-24T14:15:22Z",
    "youtube_video_url": "string",
    "cover_image_url": "string",
    "gallery_image_urls": "string",
    "impressions": "string",
    "downloads": "string",
    "purchases": "string",
    "full_url": "string"
  }
}
{
  "message": "string"
}
{
  "message": "string"
}