Suppliers

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 have been updated and/or created, using an optional “lastUpdated” parameter.

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


Sending a GET request with no parameters will return all of the suppliers in the below format

  1. {
  2.   "isActive": true,
  3.   "leadTime": "string",
  4.   "supplierName": "string",
  5.   "supplierRef": "string",
  6.   "addresses": [
  7.     {
  8.       "id":0
  9.       "typeId":0
  10.       "addressLine1": "string",
  11.       "addressLine2": "string",
  12.       "addressRef": "string",
  13.       "city": "string",
  14.       "county": "string",
  15.       "countryCode": "string",
  16.       "postcode": "string",
  17.       "type": “string”
  18.     }
  19.   ],
  20.   "contacts": [
  21.     {
  22.       "contactRef": "string",
  23.       "email": "string",
  24.       "fax": "string",
  25.       "jobTitle": "string",
  26.       "mobile": "string",
  27.       "name": "string",
  28.       "telephone": "string"
  29.     }
  30.   ]
  31. }


lastUpdated Parameter

This GET request has an optional parameter (“lastUpdated”) shown below to get all of the new or updated suppliers from a point in time.

The parameter “lastUpdated” date is in the format YYYY-MM-DDThh:mm:ss

For example, the following call will return all suppliers created from the 4th of January 12:00 Onwards:

https://{SUBDOMAIN}.totalcontrolpro.com/inventoryApi/api/integration/Suppliers?lastUpdated=2023-01-04T08%3A15%3A30-05%3A00 

NOTE:  Contact and address references will be NULL if they are created inside of the Suppliers interface on DynamxMFG®


    • Related Articles

    • 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 ...
    • 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. ...
    • 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 ...
    • 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 ...