Search for Suppliers

Suppliers can be searched for by providing either a full or partial supplier site identifier (numeric), by providing a full or partial supplier site name in the search string, by providing one or more items, or by providing one or more locations.

Returned suppliers are constrained by the following criteria:
  • Only active supplier sites are returned.

  • When items are sent as input, only supplier sites that are common amongst the items are returned.

  • When locations are sent as input, only suppliers that are valid for the Org Units associated with the input locations are returned.

Example URL

Here is an example of the resource URL:

GET

/PurchaseOrders/supplier?supplierSearchString={supplierSearchString}&locations={locations}&items={items}&pageSize={pageSize}&pageNumber={pageNumber}

Example Response

Here is an example of the response body in JSON format:

{
   ""links"": [],
   ""totalRecordCount"": 1,
   ""results"": [
      {
         ""links"": [],
         ""supplier"": 2200,
         ""supplierName"": ""Our Supplier"",
         ""supplierCurrency"": ""USD"",
         ""terms"": ""04"",
         ""defaultItemLeadTime"": 2,
         ""supplierSearchItemRDO"": [
            {
               ""links"": [],
               ""item"": ""100001887"",
               ""originCountryId"": ""US"",
               ""leadTime"": 2,
               ""hyperMediaContent"": {
                  ""linkRDO"": []
               }
            }
         ],
         ""supplierSearchItemLocRDO"": [
            {
               ""links"": [],
               ""item"": ""100001887"",
               ""location"": 363640301,
               ""pickupLeadTime"": null,
               ""hyperMediaContent"": {
                  ""linkRDO"": []
               }
            }
         ],
         ""hyperMediaContent"": {
            ""linkRDO"": []
         }
      }
   ],
   ""hyperMediaContent"": {
   ""linkRDO"": []
   }
}