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
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.
Supplier The supplier details. SupplierCurrencyModel None.

Response Formats

application/json, text/json

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

application/xml, text/xml

Sample:
<ArrayOfProductSupplierModel xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema">
  <ProductSupplierModel>
    <SupplierSKU>SupplierSKU1</SupplierSKU>
    <SupplierCosts>10</SupplierCosts>
    <SupplierStockLevel>10</SupplierStockLevel>
    <SupplierLeadTime>1</SupplierLeadTime>
    <SupplierCartonQuantities>0</SupplierCartonQuantities>
    <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>
    <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>
    <Supplier>
      <SupplierID>1</SupplierID>
      <Currency>
        <CurrencyID>50</CurrencyID>
        <CurrencyCode>AUD</CurrencyCode>
        <CurrencyName>Australian Dollars</CurrencyName>
        <Symbol>A$</Symbol>
      </Currency>
    </Supplier>
  </ProductSupplierModel>
</ArrayOfProductSupplierModel>