Update a Deal Service
PUT
/deals/save-item/{item_id}Updates an existing service.
Request
Body Params multipart/form-data
item_name
string
required
Example:
sample
item_description
string
required
Example:
sample product
price_start_range
string
required
Example:
0
price_end_range
string
required
Example:
10
deal_id
string
required
Example:
1
staffid
string
required
Example:
1
Responses
Success(200)
Validation(422)
Not found(404)
Unauthorized(401)
HTTP Code: 200
Content Type : JSONapplication/json
Data Schema
message
string
required
data
object
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": "Product/Service updated successfully!",
"data": {
"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: 2 months ago