GET products/{productid}/productsuppliers

This call gets all product suppliers for a given productid.

Request Information

URI Parameters

NameDescriptionTypeAdditional information
productid The product ID to retrive product suppliers for integer Required

Body Parameters

None.

Response Information

Resource Description

This call gets all product suppliers for a given productid.

Collection of ProductSupplierModel
NameDescriptionTypeAdditional information
Supplier The supplier details. SupplierCurrencyModel None.
SupplierSKU The sku that the supplier uses to identifiy the product. string None.
SupplierCosts The cost of the product from the supplier decimal number None.
SupplierStockLevel The suppliers current stock level. integer None.
SupplierLeadTime The suppliers leadtime for the product integer None.
SupplierCartonQuantities The carton quanty the supplier sends of the product integer None.
Priority The supplier priority Order integer None.
SupplierMinOrderAmount The Minimum amount of stock allowed to be ordered integer None.

Response Formats

application/json, text/json

Sample:
[
  {
    "Supplier": {
      "Currency": {
        "CurrencyID": 44,
        "CurrencyCode": "GBP",
        "CurrencyName": "British Pounds",
        "Symbol": "£"
      },
      "SupplierID": 1
    },
    "SupplierSKU": "SupplierSKU1",
    "SupplierCosts": 10.0,
    "SupplierStockLevel": 10,
    "SupplierLeadTime": 1,
    "SupplierCartonQuantities": 0,
    "Priority": 0,
    "SupplierMinOrderAmount": 1
  },
  {
    "Supplier": {
      "Currency": {
        "CurrencyID": 100,
        "CurrencyCode": "EUR",
        "CurrencyName": "Euro",
        "Symbol": "€"
      },
      "SupplierID": 2
    },
    "SupplierSKU": "SupplierSKU2",
    "SupplierCosts": 10.0,
    "SupplierStockLevel": 10,
    "SupplierLeadTime": 1,
    "SupplierCartonQuantities": 0,
    "Priority": 0,
    "SupplierMinOrderAmount": 2
  },
  {
    "Supplier": {
      "Currency": {
        "CurrencyID": 50,
        "CurrencyCode": "AUD",
        "CurrencyName": "Australian Dollars",
        "Symbol": "A$"
      },
      "SupplierID": 1
    },
    "SupplierSKU": "SupplierSKU3",
    "SupplierCosts": 10.0,
    "SupplierStockLevel": 10,
    "SupplierLeadTime": 1,
    "SupplierCartonQuantities": 0,
    "Priority": 0,
    "SupplierMinOrderAmount": 1
  }
]

application/xml, text/xml

Sample:
<ArrayOfProductSupplierModel xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
  <ProductSupplierModel>
    <SupplierSKU>SupplierSKU1</SupplierSKU>
    <SupplierCosts>10</SupplierCosts>
    <SupplierStockLevel>10</SupplierStockLevel>
    <SupplierLeadTime>1</SupplierLeadTime>
    <SupplierCartonQuantities>0</SupplierCartonQuantities>
    <Priority>0</Priority>
    <SupplierMinOrderAmount>1</SupplierMinOrderAmount>
    <Supplier>
      <SupplierID>1</SupplierID>
      <Currency>
        <CurrencyID>44</CurrencyID>
        <CurrencyCode>GBP</CurrencyCode>
        <CurrencyName>British Pounds</CurrencyName>
        <Symbol>£</Symbol>
      </Currency>
    </Supplier>
  </ProductSupplierModel>
  <ProductSupplierModel>
    <SupplierSKU>SupplierSKU2</SupplierSKU>
    <SupplierCosts>10</SupplierCosts>
    <SupplierStockLevel>10</SupplierStockLevel>
    <SupplierLeadTime>1</SupplierLeadTime>
    <SupplierCartonQuantities>0</SupplierCartonQuantities>
    <Priority>0</Priority>
    <SupplierMinOrderAmount>2</SupplierMinOrderAmount>
    <Supplier>
      <SupplierID>2</SupplierID>
      <Currency>
        <CurrencyID>100</CurrencyID>
        <CurrencyCode>EUR</CurrencyCode>
        <CurrencyName>Euro</CurrencyName>
        <Symbol>€</Symbol>
      </Currency>
    </Supplier>
  </ProductSupplierModel>
  <ProductSupplierModel>
    <SupplierSKU>SupplierSKU3</SupplierSKU>
    <SupplierCosts>10</SupplierCosts>
    <SupplierStockLevel>10</SupplierStockLevel>
    <SupplierLeadTime>1</SupplierLeadTime>
    <SupplierCartonQuantities>0</SupplierCartonQuantities>
    <Priority>0</Priority>
    <SupplierMinOrderAmount>1</SupplierMinOrderAmount>
    <Supplier>
      <SupplierID>1</SupplierID>
      <Currency>
        <CurrencyID>50</CurrencyID>
        <CurrencyCode>AUD</CurrencyCode>
        <CurrencyName>Australian Dollars</CurrencyName>
        <Symbol>A$</Symbol>
      </Currency>
    </Supplier>
  </ProductSupplierModel>
</ArrayOfProductSupplierModel>