GET products/{productid}/productsuppliers/{supplierid}

This call allows you to get a particular supplier entry for a particular product.

Request Information

URI Parameters

NameDescriptionTypeAdditional information
productid The product ID that you want to be returned. integer Required
supplierid The Supplier ID for the product. integer Required

Body Parameters

None.

Response Information

Resource Description

This call allows you to get a particular supplier entry for a particular product.

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,
    "Name": "Supplier 1"
  },
  "SupplierSKU": "sup1",
  "SupplierCosts": 4.5,
  "SupplierStockLevel": 12,
  "SupplierLeadTime": 2,
  "SupplierCartonQuantities": 1,
  "Priority": 0,
  "SupplierMinOrderAmount": 2
}

application/xml, text/xml

Sample:
<ProductSupplierModel xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
  <SupplierSKU>sup1</SupplierSKU>
  <SupplierCosts>4.50</SupplierCosts>
  <SupplierStockLevel>12</SupplierStockLevel>
  <SupplierLeadTime>2</SupplierLeadTime>
  <SupplierCartonQuantities>1</SupplierCartonQuantities>
  <Priority>0</Priority>
  <SupplierMinOrderAmount>2</SupplierMinOrderAmount>
  <Supplier>
    <SupplierID>1</SupplierID>
    <Name>Supplier 1</Name>
    <Currency>
      <CurrencyID>44</CurrencyID>
      <CurrencyCode>GBP</CurrencyCode>
      <CurrencyName>British Pounds</CurrencyName>
      <Symbol>£</Symbol>
    </Currency>
  </Supplier>
</ProductSupplierModel>