XML Data Feed: Item List
Use the item-list function to result a file url that contains a list of all active items in DC. This primary use of this function would be to quickly get a list of all SupplierItemGUID to use in subsequent calls to other APIs such as Product Information.
Product file returned contains 3 fields; CompanyName (name of supplier), CompanyAccountGuid (unique supplier identifier), and SupplierItemGuid (unique supplier item identifier)
URL: https://prod-api.distributorcentral.com/xml/item-list?
Parameters | Required |
acctwebguid | yes |
Sample Response
<products> <totalproducts>341403</totalproducts> <fileurl> https://s3.distributorcentral.com/productExports/6b9467e3-d951-4a81-a19e-1733bddb546b.txt </fileurl> </products>
Product File Example
<?xml version="1.0" encoding="UTF-8"?> <products> <totalproducts>123</totalproducts> <product> <COMPANYNAME><![CDATA[Test Company]]></COMPANYNAME> <COMPANYACCOUNTGUID>00000000-0000-0000-0000-000000000000</COMPANYACCOUNTGUID> <SUPPLIERITEMGUID>00000000-0000-0000-0000-000000000000</SUPPLIERITEMGUID> </product> </products>