vendor resource type
Represents a vendor in Business Central.
Note
For information about enabling APIs for Business Central see Enabling the APIs for Dynamics 365 Business Central.
Methods
| Method | Return Type | Description |
|---|---|---|
| GET vendor | vendor | Gets a vendor object. |
| POST vendor | vendor | Creates a vendor object. |
| PATCH vendor | vendor | Updates a vendor object. |
| DELETE vendor | vendor | Deletes a vendor object |
Navigation
| Navigation | Return Type | Description |
|---|---|---|
| countryRegion | countryRegion | Gets the countryregion of the vendor. |
| currency | currency | Gets the currency of the vendor. |
| paymentTerm | paymentTerm | Gets the paymentterm of the vendor. |
| paymentMethod | paymentMethod | Gets the paymentmethod of the vendor. |
| vendorFinancialDetail | vendorFinancialDetail | Gets the vendorfinancialdetail of the vendor. |
| picture | picture | Gets the picture of the vendor. |
| defaultDimensions | defaultDimensions | Gets the defaultdimensions of the vendor. |
| agedAccountsPayable | agedAccountsPayable | Gets the aged accounts payable of the vendor. |
| contactsInformation | contactsInformation | Gets the contactsinformation of the vendor. |
Properties
| Property | Type | Description | Max Length |
|---|---|---|---|
| 🔑 id | GUID | The unique ID of the vendor. Non-editable. | |
| number | string | Specifies the number of the vendor. | 20 |
| displayName | string | Specifies the vendor's name. This name will appear on all purchase documents for the vendor. | 100 |
| addressLine1 | string | Specifies the vendor's address. This address will appear on all purchase documents for the vendor. | 100 |
| addressLine2 | string | Specifies the vendor's address. This address will appear on all purchase documents for the vendor. | 50 |
| city | string | Specifies the vendor's city. | 30 |
| state | string | Specifies the vendor's state. | 30 |
| country | string | Specifies the vendor's country. | 10 |
| postalCode | string | Specifies the vendor's postal code. | 20 |
| phoneNumber | string | Specifies the vendor's telephone number. | 30 |
| string | Specifies the vendor's email address. | 80 | |
| website | string | Specifies the vendor's home page address. | 80 |
| taxRegistrationNumber | string | Specified the tax registration number of the vendor. | 20 |
| currencyId | GUID | Specifies which currency the vendor uses. | |
| currencyCode | string | The default currency code for the vendor. | |
| paymentTermsId | GUID | Specifies which payment term the vendor uses. | |
| paymentMethodId | GUID | Specifies which payment method the vendor uses. | |
| taxLiable | boolean | Specifies if the vendor or vendor is liable for sales tax. Set to true if the vendor is tax liable. | |
| blocked | NAV.vendorBlocked | Specifies which transactions with the vendor cannot be posted. It can be " ", "Payment" or "All". | |
| balance | decimal | Specifies vendor's total balance. | |
| languageCode | string | Specifies the language code of the vendor. | 10 |
| responsibilityCenter | string | Specifies the responsibility center of the vendor. | 10 |
| generalBusinessPostingGroupCode | string | Specifies the general business posting group of the vendor. | 20 |
| vendorPostingGroup | string | Specifies the vendor posting group of the vendor. | 20 |
| vatBusinessPostingGroup | string | Specifies the VAT business posting group of the vendor. | 20 |
| ourAccountNumber | string | Specifies your account number with the vendor, if you have one. | |
| lastModifiedDateTime | datetime | The last datetime the vendor was modified. Read-Only. |