Get Products
5.2 Get Products
Request
Method
URL
GET
/products
Query Params
description(Optional): Filter members by description.
category_id(Optional): Filter by category ID.
id(Optional): List of member IDs to filter.
name (Optional): Filter members by name.
page (Optional): Page number for pagination.
size (Optional): Number of items per page for pagination.
Response
Status
Response
200
{
"status": true,
"data": {
"items": [
{
"description": "Bir adet kurabiye ile servis edilen Türk çayı",
"merchant_id": 1,
"id": 1,
"price": 10.0,
"category_id": 52,
"order": 1,
"updatedDate": "2023-12-11T20:46:12.995672",
"name": "Çay",
"image": null,
"is_active": true,
"createdDate": "2023-12-11T20:38:05.345523",
"deletedDate": null
},
{
"description": "Taze kavrulmuş kahve",
"merchant_id": 1,
"id": 43,
"price": 20.0,
"category_id": 52,
"order": 2,
"updatedDate": "2023-12-14T11:11:10.666238",
"name": "Kahve",
"image": null,
"is_active": true,
"createdDate": "2023-12-14T11:11:10.666238",
"deletedDate": null
},
},
"page": 1,
"size": 10,
"total_size": 10
}
403
400
401
401
500
Last updated