List a Deal Services
GET
/deals/item/list/{deal_id}Retrieves a list of all services available for a specific deal.
Request
Responses
Success(200)
Unauthorized(401)
HTTP Code: 200
Content Type : JSONapplication/json
Data Schema
message
string
required
data
array [object {7}]
required
items_id
string
required
deals_id
string
required
item_name
string
required
item_desc
string
required
date_saved
string
required
price_start_range
string
required
price_end_range
string
required
Example
{
"message": "data fetched successfully!",
"data": [
{
"items_id": "7",
"deals_id": "1",
"item_name": "product 1",
"item_desc": "jasncakj",
"date_saved": "2024-08-19 17:12:13",
"price_start_range": "0",
"price_end_range": "100"
},
{
"items_id": "8",
"deals_id": "1",
"item_name": "jknjk",
"item_desc": "njknjkn",
"date_saved": "2024-08-19 17:25:28",
"price_start_range": "0",
"price_end_range": "10"
},
{
"items_id": "9",
"deals_id": "1",
"item_name": "lkmkl",
"item_desc": "mklmkl",
"date_saved": "2024-08-19 17:27:01",
"price_start_range": "0",
"price_end_range": "10"
},
{
"items_id": "14",
"deals_id": "1",
"item_name": "sample",
"item_desc": "sample product",
"date_saved": "2024-08-19 18:29:38",
"price_start_range": "0",
"price_end_range": "10"
},
{
"items_id": "15",
"deals_id": "1",
"item_name": "sample",
"item_desc": "sample product",
"date_saved": "2024-08-19 18:30:47",
"price_start_range": "0",
"price_end_range": "10"
}
]
}
Last modified: 3 months ago