Overview
How to use the supplier API to synchronize suppliers
Use the supplier API to manage the synchronization of suppliers between your application and Proactis.
cXML
Proactis supplier API uses the cXML message standard. We suggest you refer to the cXML User's Guide at cxml.org to learn more. Sample messages including annotation can be found on the sample messages page.
Periodically retrieve suppliers from Proactis
When Proactis serves as the source for your supplier data you will have to retrieve supplier data and process it in your application. Proactis API offers two endpoints, one for fetching a list of results based on filters or pagination and another for retrieving individual suppliers.
The definition of the exported cXML supplier can be found on the cXML export definition page.
More information on the process can be read here. Or check information on filtering or pagination.
Import suppliers into Proactis
Suppliers created in a different application and required in Proactis can be imported using the Proactis API. Individual suppliers can be send to Proactis using a POST request containing a cXML version of the supplier. The API will respond with a cXML response, further processing and its status will be visible in the widgets.
To create, update or delete a supplier in Proactis make sure to use the correct OrganizationChangeMessage attribute value. This attribute is mandatory and is required to process the data.
<!--REQUIRED: Options for type: "new", "update" and "delete"-->
<OrganizationChangeMessage type="new">
More information on the process can be read here.