Skip to main content

Customer API

Overview

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

API Details

  • Publisher: smart
  • API Group: wms
  • API Version: v2.0
  • Entity Name: customer
  • Entity Set Name: customers
  • Source Table: Customer
  • ODataKeyFields: No

Fields

The following fields are exposed in the API:

Field NameSource FieldRequiredDescription
NoCustomer."No."YesUnique identifier for the customer.
NameCustomer.NameYesName of the customer.
GenBusPostingGroupCustomer."Gen. Bus. Posting Group"NoGeneral business posting group.
VatBusPostingGroupCustomer."VAT Bus. Posting Group"NoVAT business posting group.
CustomerPostingGroupCustomer."Customer Posting Group"NoCustomer posting group.

Notes

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

Example Usage

Create a New Customer

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

{
"No": "CUST001",
"Name": "Sample Customer",
"GenBusPostingGroup": "DOMESTIC",
"VatBusPostingGroup": "STANDARD",
"CustomerPostingGroup": "RETAIL"
}

Retrieve a Customer

GET host/instance/api/smart/wms/v2.0/companies(companyId)/customers('CUST001')

Update a Customer

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

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