POST api/update-item_v2
Request Information
URI Parameters
None.
Body Parameters
NewItemView| Name | Description | Type | Additional information |
|---|---|---|---|
| Id | integer |
None. |
|
| CategoryID | integer |
None. |
|
| Name | string |
None. |
|
| Price | decimal number |
None. |
|
| Cost | 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,
"CategoryID": 2,
"Name": "sample string 3",
"Price": 4.1,
"Cost": 1.1,
"Discountable": true,
"duration": 6,
"Online": true,
"Active": true,
"Barcode": "sample string 9"
}
multipart/form-data
Sample:
{"Id":1,"CategoryID":2,"Name":"sample string 3","Price":4.1,"Cost":1.1,"Discountable":true,"duration":6,"Online":true,"Active":true,"Barcode":"sample string 9"}
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
ObjectNone.
Response Formats
application/json, text/json, multipart/form-data
Sample:
{}