vendors resource type

Namespace: microsoft.graph

Important

APIs under the /beta version in Microsoft Graph are subject to change. Use of these APIs in production applications is not supported. To determine whether an API is available in v1.0, use the Version selector.

Represents a vendor in Dynamics 365 Business Central.

Methods

Method Return Type Description
Get vendors vendors Gets a vendor object.
Post vendors vendors Creates a vendor object.
Patch vendors vendors Updates a vendor object.
Delete vendor none Deletes a vendor object.

Properties

Property Type Description
id GUID The unique ID of the vendor. Non-editable.
number string The vendor number.
displayName string The vendor's display name.
address NAV.PostalAddress The vendor's address.
phoneNumber string The vendor's telephone number.
email string The vendor's email address.
website string The vendor's website address.
taxRegistrationNumber string The vendor's tax registration number.
currencyId GUID The default currency code ID for the vendor.
currencyCode string The default currency code for the vendor.
irs1099Code string Specifies a 1099 code for the vendor. US only.
paymentTermsId GUID The default payment terms ID for the vendor.
paymentMethodId GUID The default payment method ID for the vendor.
taxLiable boolean Specifies if the vendor is liable for tax.
blocked string Specifies which transactions with the vendor that can't be posted. Accepted values are blank, Payment or All
balance decimal The vendor's balance. Read-Only.
lastModifiedDateTime datetime The last datetime the vendor was modified. Read-Only.

Relationships

None

JSON representation

Here's a JSON representation of the vendor.

{
  "id": "GUID",
  "number": "string",
  "displayName": "string",
  "address": "NAV.PostalAddress",
  "phoneNumber": "string",
  "email": "string",
  "website": "string",
  "taxRegistrationNumber": "string",
  "currencyId": "GUID",
  "currencyCode": "string",
  "irs1099Code": "string",
  "paymentTermsId": "GUID",
  "paymentMethodId": "GUID",
  "taxLiable": "boolean",
  "blocked": "string",
  "balance": "decimal",
  "lastModifiedDateTime": "datetime"
}