POST api/update-item_v2
Request Information
URI Parameters
None.
Body Parameters
NewItemView| Name | Description | Type | Additional information |
|---|---|---|---|
| Id | integer |
None. |
|
| ComID | string |
None. |
|
| CategoryID | integer |
None. |
|
| Name | string |
None. |
|
| Price | decimal number |
None. |
|
| Discountable | boolean |
None. |
|
| duration | integer |
None. |
|
| Online | boolean |
None. |
|
| Active | boolean |
None. |
|
| Barcode | string |
None. |
Request Formats
application/json, text/json
Sample:
{
"Id": 1,
"ComID": "sample string 2",
"CategoryID": 3,
"Name": "sample string 4",
"Price": 5.1,
"Discountable": true,
"duration": 7,
"Online": true,
"Active": true,
"Barcode": "sample string 10"
}
multipart/form-data
Sample:
{"Id":1,"ComID":"sample string 2","CategoryID":3,"Name":"sample string 4","Price":5.1,"Discountable":true,"duration":7,"Online":true,"Active":true,"Barcode":"sample string 10"}
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
ObjectNone.
Response Formats
application/json, text/json, multipart/form-data
Sample:
{}