Appearance
Update Vendor
- Update Vendor v1
- Update Vendor v2
Endpoints v1
https://app.passelimerit.fi/api/v1/updatevendorQuery 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
| Field | Type | Comment | Required |
|---|---|---|---|
| Id | Guid | Required | |
| Name | Str 150 | ||
| CountryCode | Str 2 | ||
| Address | Str 100 | ||
| County | Str 50 | ||
| City | Str 50 | ||
| PostalCode | Str 15 | ||
| PhoneNo | Str 50 | ||
| PhoneNo2 | Str 50 | ||
| RegNo | Str 30 | ||
| VatRegNo | Str 30 | ||
| SalesInvLang | Str 2 | EE, FI, PL | |
| VatAccountable | bool | true, false | |
| BankAccount | Str 50 | ||
| ReferenceNo | Str 36 |
Endpoints v2
https://app.passelimerit.fi/api/v2/updatevendorQuery 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
| Field | Type | Comment | Required |
|---|---|---|---|
| Id | Guid | Required | |
| Name | Str 150 | ||
| CountryCode | Str 2 | ||
| Address | Str 100 | ||
| County | Str 50 | ||
| City | Str 50 | ||
| PostalCode | Str 15 | ||
| PhoneNo | Str 50 | ||
| PhoneNo2 | Str 50 | ||
| RegNo | Str 30 | ||
| VatRegNo | Str 30 | ||
| SalesInvLang | Str 2 | EE, FI, PL | |
| VatAccountable | bool | true, false | |
| BankAccount | Str 50 | ||
| ReferenceNo | Str 36 | ||
| Dimensions | Array of dimensions objects | If used then must be found in the company database. |
Dimensions Object
| Field | Type | Comment | Required |
|---|---|---|---|
| DimId | Int | ||
| DimValueId | Guid | ||
| DimCode | Str |
Successful Result
json
"Updated"