Skip to content

Update Item

Endpoints

https://app.passelimerit.fi/api/v1/updateitem

Query Payload

json
{
  "Id": "c9a417e7-bf34-4443-9f11-daf0912e99df",
  "Code": "",
  "Description": "",
  "SalesPrice": 0,
  "ItemGrCode": "",
  "DiscountPct": 0,
  "EANCode": "",
  "NameEN": "",
  "LastPurchasePrice": 0,
  "SalesAccountCode": "",
  "InventoryAccountCode": "",
  "ItemCostAccountCode": "",
  "TaxId": "973a4395-665f-47a6-a5b6-5384dd24f8d0"
}
Click to see the query parameters
FieldTypeCommentRequired
IdGuidRequired
CodeStr 20
DescriptionStr 100
SalesPriceDecimal 18.2
ItemGrCodeStrIf used then must be found in the company database
DiscountPctDecimal 18.2
EANCodeStr 13
NameENStr 100
LastPurchasePriceDecimal 18.2
SalesAccountCodeStr 10If used then must be found in the company database
InventoryAccountCodeStr 10If used then must be found in the company database
ItemCostAccountCodeStr 10If used then must be found in the company database
TaxIdGuid

Successful Result

json
"Updated"