PUT api/Product/update
Request Information
URI Parameters
None.
Body Parameters
ProductName | Description | Type | Additional information |
---|---|---|---|
Id | integer |
None. |
|
SKU | string |
None. |
|
Description | string |
None. |
|
BrandNumber | string |
None. |
|
BarCode | string |
None. |
|
Price | decimal number |
None. |
|
PurchasePrice | decimal number |
None. |
|
Tax | decimal number |
None. |
|
BrandId | integer |
None. |
|
PLU | string |
None. |
|
Unit | ProductUnit |
None. |
|
AskPrice | boolean |
None. |
|
AskWeight | boolean |
None. |
|
PriceLock | boolean |
None. |
|
ColorCode | string |
None. |
|
PrinterId | integer |
None. |
|
SortOrder | integer |
None. |
|
Active | boolean |
None. |
|
Deleted | boolean |
None. |
|
PlaceHolder | boolean |
None. |
|
AskVolume | boolean |
None. |
|
NeedIngredient | boolean |
None. |
|
Created | date |
None. |
|
Updated | date |
None. |
|
Bong | boolean |
None. |
|
Sticky | integer |
None. |
|
Seamless | boolean |
None. |
|
ShowItemButton | boolean |
None. |
|
AccountingId | integer |
None. |
|
ReceiptMethod | ReceiptMethod |
None. |
|
ItemType | ItemType |
None. |
|
DiscountAllowed | boolean |
None. |
|
IngredientPopup | boolean |
None. |
|
PreparationTime | PrepareTime |
None. |
|
CategoryId | integer |
None. |
|
Campaign | Campaign |
None. |
|
HasPricePolicy | boolean |
None. |
|
ifExists | string |
None. |
|
ItemCategory | Collection of ItemCategory |
None. |
|
ExternalId | string |
None. |
Request Formats
application/json, text/json
Sample:
{ "Id": 1, "SKU": "sample string 2", "Description": "sample string 3", "BrandNumber": "sample string 4", "BarCode": "sample string 5", "Price": 6.0, "PurchasePrice": 7.0, "Tax": 8.0, "BrandId": 1, "PLU": "sample string 9", "Unit": 0, "AskPrice": true, "AskWeight": true, "PriceLock": true, "ColorCode": "sample string 13", "PrinterId": 14, "SortOrder": 15, "Active": true, "Deleted": true, "PlaceHolder": true, "AskVolume": true, "NeedIngredient": true, "Created": "2024-05-21T10:27:00.6693885+02:00", "Updated": "2024-05-21T10:27:00.6693885+02:00", "Bong": true, "Sticky": 23, "Seamless": true, "ShowItemButton": true, "AccountingId": 26, "ReceiptMethod": 0, "ItemType": 0, "DiscountAllowed": true, "IngredientPopup": true, "PreparationTime": 0, "CategoryId": 29, "Campaign": { "$id": "2", "Id": 1, "BuyLimit": 2, "FreeOffer": 3, "Description": "sample string 4", "Updated": "2024-05-21T10:27:00.6693885+02:00" }, "HasPricePolicy": true, "ifExists": "sample string 31", "ItemCategory": [ { "$id": "3", "Id": 1, "ItemId": 2, "CategoryId": 3, "SortOrder": 4, "IsPrimary": true }, { "$ref": "3" } ], "ExternalId": "sample string 32" }
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
IHttpActionResultNone.
Response Formats
application/json, text/json
Sample:
Sample not available.