Skip to content

Update Vendor

Endpoints v1

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

Query Payload

json
{
  "Id": "01b7732d-ef2b-43a1-bb25-0ad715cf6b22",
  "Name": "Test",
  "CountryCode": "EE",
  "Address": "Test",
  "City": "Test",
  "PostalCode": "12345",
  "PhoneNo": "123456",
  "PhoneNo2": "123456",
  "Email": "",
  "RegNo": "123456",
  "VatRegNo": "123456",
  "SalesInvLang": "EE",
  "VatAccountable": true,
  "BankAccount": "123456",
  "ReferenceNo": "123456"
}
Click to see the query parameters
FieldTypeCommentRequired
IdGuidRequired
NameStr 150
CountryCodeStr 2
AddressStr 100
CityStr 30
PostalCodeStr 15
PhoneNoStr 50
PhoneNo2Str 50
Email
RegNoStr 30
VatRegNoStr 30
SalesInvLangStr 2EE, FI, PL
VatAccountablebooltrue, false
BankAccountStr 50
ReferenceNoStr 36

Endpoints v2

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

Query Payload

json
{
  "Id": "01b7732d-ef2b-43a1-bb25-0ad715cf6b22",
  "Name": "Test",
  "CountryCode": "EE",
  "Address": "Test",
  "City": "Test",
  "PostalCode": "12345",
  "PhoneNo": "123456",
  "PhoneNo2": "123456",
  "Email": "",
  "RegNo": "123456",
  "VatRegNo": "123456",
  "SalesInvLang": "EE",
  "VatAccountable": true,
  "BankAccount": "123456",
  "ReferenceNo": "123456",
  "Dimensions": [
    {
      "DimId": 1,
      "DimValueId": "00000000-0000-0000-0000-000000000000",
      "DimCode": "1"
    }
  ]
}
Click to see the query parameters
FieldTypeCommentRequired
IdGuidRequired
NameStr 150
CountryCodeStr 2
AddressStr 100
CityStr 30
PostalCodeStr 15
PhoneNoStr 50
PhoneNo2Str 50
Email
RegNoStr 30
VatRegNoStr 30
SalesInvLangStr 2EE, FI, PL
VatAccountablebooltrue, false
BankAccountStr 50
ReferenceNoStr 36
DimensionsArray of dimensions objectsIf used then must be found in the company database.

Dimensions Object

FieldTypeCommentRequired
DimIdInt
DimValueIdGuid
DimCodeStr

Successful Result

json
"Updated"