The Supplier Information API is a Rest/JSON API used to access information such as OneSource's current list of Suppliers and those Supplier's available endpoints. We've made it compatible with PromoStandards Services API. All you have to do is switch the PromoStandards Services URL used to a OneSource Supplier Information URL (shown below) to start getting the Supplier Information API from OneSource.
List of Suppliers & Supplier Code
Usage: Output every OneSource Supplier & Supplier Code
URL: https://api.dc-onesource.com/ps/companies
Sample
{ Code: "135promos", Name: "135promos", Type: "Supplier" }, { Code: "3M", Name: "3M Promotional Markets", Type: "Supplier" }, { Code: "aaainnovations", Name: "aaa innovations", Type: "Supplier" }, { Code: "Aakron", Name: "Aakron Line", Type: "Supplier" }, ...
List of Service Codes
Usage: Output every OneSource Service Code
{ Code: "INV", Name: "Inventory" } ...
Endpoints by Supplier Code
Usage: Output a specific supplier's available endpoints
URL: https://api.dc-onesource.com/ps/companies/{SupplierCode}/endpoints
Example URL: https://api.dc-onesource.com/ps/companies/STAR/endpoints
Sample
{ Service: { ServiceType: { Code: "INV", Name: "INV" }, Status: "Production", Version: "2.0.0", WSDL: "https://api.dc-onesource.com/xml/STAR/INV/2.0.0/soap" }, TestURL: "", Url: "https://api.dc-onesource.com/xml/STAR/INV/2.0.0/soap" }, <br>...
Endpoints by Supplier Code & Service Code
Usage: Output a specific supplier's available endpoints by type
URL: https://api.dc-onesource.com/ps/companies/{SupplierCode}/endpoints/types/{ServiceCode}
Example URL: https://api.dc-onesource.com/ps/companies/STAR/endpoints/types/INV
Sample
{Service: { ServiceType: { Code: "INV", Name: "INV" }, Status: "Production", Version: "2.0.0", WSDL: "https://api.dc-onesource.com/xml/STAR/INV/2.0.0/soap" }, TestURL: "", Url: "https://api.dc-onesource.com/xml/STAR/INV/2.0.0/soap" } ...
Endpoints by Supplier Code / Service Code / Version
Usage: Output a specific supplier's available endpoints by type and version
URL: https://api.dc-onesource.com/ps/companies/{SupplierCode}/endpoints/types/{ServiceCode}?version={version}
Example URL: https://api.dc-onesource.com/ps/companies/STAR/endpoints/types/INV?version=1.2.1
Sample
{ Service: { ServiceType: { Code: "INV", Name: "INV" }, Status: "Production", Version: "1.2.1", WSDL: "https://api.dc-onesource.com/xml/STAR/INV/1.2.1/soap" }, TestURL: "", Url: "https://api.dc-onesource.com/xml/STAR/INV/1.2.1/soap" } ...