Перейти до основного вмісту

Vendor API

Overview

The WMS Vendors API is a Business Central API page designed to manage vendor data. This API allows external systems to interact with vendor records, providing functionality for creating, reading, and updating vendor information.

API Details

  • Publisher: smart
  • API Group: wms
  • API Version: v2.0
  • Entity Name: vendor
  • Entity Set Name: vendors
  • Source Table: Vendor
  • ODataKeyFields: No

Fields

The following fields are exposed in the API:

Field NameSource FieldRequiredDescription
NoVendor."No."YesUnique identifier for the vendor.
NameVendor.NameYesName of the vendor.
AddressVendor.AddressNoAddress of the vendor.
PhoneNoVendor."Phone No."NoPhone number of the vendor.
GenBusPostingGroupVendor."Gen. Bus. Posting Group"NoGeneral business posting group.
VatBusPostingGroupVendor."VAT Bus. Posting Group"NoVAT business posting group.
VendorPostingGroupVendor."Vendor Posting Group"NoVendor posting group.

Notes

  • Ensure that the SMA WMS Connector Setup is properly configured with a valid vendor template before using this API.

Example Usage

Create a New Vendor

POST host/instance/api/smart/wms/v2.0/companies(companyId)/vendors
Content-Type: application/json

{
"No": "VEND001",
"Name": "Sample Vendor",
"Address": "123 Vendor Street",
"PhoneNo": "1234567890",
"GenBusPostingGroup": "DOMESTIC",
"VatBusPostingGroup": "STANDARD",
"VendorPostingGroup": "SUPPLIER"
}

Retrieve a Vendor

GET host/instance/api/smart/wms/v2.0/companies(companyId)/vendors('VEND001')

Update a Vendor

PATCH host/instance/api/smart/wms/v2.0/companies(companyId)/vendors('VEND001')
Content-Type: application/json

{
"Name": "Updated Vendor Name"
}
© 2008 - 2026 SMART business