Light Docs

List all products paginated

GET
/products

Authorization

bearerAuth

Response Body

application/json

application/json

curl -X GET "http://localhost:8000/api/products"
{
  "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"
    }
  ],
  "links": {
    "first": "string",
    "last": "string",
    "prev": "string",
    "next": "string"
  },
  "meta": {
    "current_page": 1,
    "from": 1,
    "path": "string",
    "per_page": 0,
    "to": 1
  }
}
{
  "message": "string"
}