Skip to content

Add Items

Endpoints

https://app.passelimerit.fi/api/v2/senditems

Query Payload

json
{
  "Items": [
    {
      "Type": 3,
      "Usage": 1,
      "Code": "testCode",
      "Description": "testDescription"
    }
  ]
}
Click to see the query parameters
FieldTypeCommentRequired
ItemsArray of itemobjectsRequired

ItemObject

FieldTypeCommentRequired
TypeInt1 - stock item,
2 - service,
3 - item.
Required
UsageInt1 - sales,
2 - purchases,
3 - sales and purchases.
Required
CodeStr 20Required
EANCodeStr
DescriptionStr 100Required
UOMNameStr 64Required, if the items is a stock item
DefLocationCodeStr 20Required, if multiple stocks are in use.
GTUCodeIntFor Usage:1 (sales), Poland only, values: 1...13
DescriptionENStr 100
DescriptionRUStr 100
DescriptionFIStr 100
TaxIdGuid
ItemGrCodeStrIf used then must be found in the company database
SalesAccCodeStr 10
PurchaseAccCodeStr 10
InventoryAccCodeStr 10
CostAccCodeStr 10

Successful Result

json
[
  {
    "ItemId": "79aa7fa0-43ed-47f9-bda6-9450bcadea81",
    "Code": "testCode"
  }
]
Click to see the result parameters
FieldTypeComment
ItemIdGuid
CodeStr