Customers

Customers API

Customers – POST API

Customer information can be inserted into DynamxMFG®.

Updating Customer Record data; This API can be used both to INSERT and UPDATE Customer record data in DynamxMFG®.   This API can be used to update the Customer without updating Contacts or Address records.  Complete customer record information must be passed.

Updating Contacts & Addresses;  The same API is used to update Contacts and Address records, however please note that full customer record information must again be passed through. i.e. the Name, Reference, Delivery Days, Account Balance, isActive etc. must be sent with any update to Contact or Address.

The Customer Contact / Address reference is unique to the customer, i.e. the reference is not necessarily unique outside of the customer object.

Info
https://{SUBDOMAIN}.totalcontrolpro.com/inventoryApi/api/integration/Customers

The below example will send in a POST request.

  1. {
  2.   "accountBalance": 0,
  3.   "accountBalanceAsOfDate": "2023-01-01T12:23:29.684Z",
  4.   "addresses": [
  5.     {
  6.       "addressLine1": "string",
  7.       "addressLine2": "string",
  8.       "addressRef": "string",
  9.       "city": "string",
  10.       "county": "string",
  11.       "countryCode": "string",
  12.       "postcode": "string",
  13.       "type": "string"
  14.     }
  15.   ],
  16.   "allowDiscount": true,
  17.   "contacts": [
  18.     {
  19.       "contactRef": "string",
  20.       "email": "string",
  21.       "fax": "string",
  22.       "jobTitle": "string",
  23.       "mobile": "string",
  24.       "name": "string",
  25.       "telephone": "string"
  26.     }
  27.   ],
  28.   "creditLimit": 0,
  29.   "customerName": "string",
  30.   "customerRef": "string",
  31.   "deliveryDays": 0,
  32.   "isActive": true
  33. }



    • Related Articles

    • Sales Orders API

      Sales Order Creation – POST SalesOrders New Sales Orders can be created in DynamxMFG® from third party applications using the Sales Order Creation API. This POST API call enables Sales Orders to be create against customers using the Customer ...
    • Suppliers API

      Suppliers – GET Where DynamxMFG® is the point of truth for suppliers, third party applications can use the following APIs to GET Supplier information held, including Supplier Contacts and Addresses. This API can be used to retrieve the suppliers that ...
    • Purchase Order API

      Purchase Orders – GET PurchaseOrders Where DynamxMFG® is the point of truth for Purchase Orders, third party applications can use the following APIs to GET Purchase Orders records. ...
    • Intro, Keys & Swagger

      Introduction TotalControlPro provide specific APIs across DynamxMFG® to allow entry-level direct 3rd party integration. These public APIs are designed for clients who wish to connect directly to the DynamxMFG® platform using custom and/or 3rd party ...