GET v1/Products/{productId}/Suppliers

Get a list with all Suppliers who supply given product.

Request Information

Requires Authorization!

URI Parameters

NameDescriptionTypeAdditional information
productId

The id of the Product.

integer

Required.

Body Parameters

None.

Response Information

Resource Description

A list of the PurchaseProductBasicInfo object.


Collection of PurchaseProductBasicInfo
NameDescriptionTypeAdditional information
SupplierCompanyName

Gets or sets the name of the supplier company.

string

None.

Id

Gets or sets the identifier.

integer

Required

SupplierId

Gets or sets the supplier identifier.

integer

Required

SupplierSKU

Gets or sets the supplier stock keeping unit.

string

None.

PurchasePriceExVAT

Gets or sets the purchase price (exclude VAT).

decimal number

None.

Response Formats

application/json, text/json

Sample:
[
  {
    "SupplierCompanyName": "sample string 1",
    "Id": 2,
    "SupplierId": 3,
    "SupplierSKU": "sample string 4",
    "PurchasePriceExVAT": 1.0
  },
  {
    "SupplierCompanyName": "sample string 1",
    "Id": 2,
    "SupplierId": 3,
    "SupplierSKU": "sample string 4",
    "PurchasePriceExVAT": 1.0
  }
]

application/xml, text/xml

Sample:
<ArrayOfPurchaseProductBasicInfo xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
  <PurchaseProductBasicInfo>
    <Id>2</Id>
    <SupplierId>3</SupplierId>
    <SupplierSKU>sample string 4</SupplierSKU>
    <PurchasePriceExVAT>1</PurchasePriceExVAT>
    <SupplierCompanyName>sample string 1</SupplierCompanyName>
  </PurchaseProductBasicInfo>
  <PurchaseProductBasicInfo>
    <Id>2</Id>
    <SupplierId>3</SupplierId>
    <SupplierSKU>sample string 4</SupplierSKU>
    <PurchasePriceExVAT>1</PurchasePriceExVAT>
    <SupplierCompanyName>sample string 1</SupplierCompanyName>
  </PurchaseProductBasicInfo>
</ArrayOfPurchaseProductBasicInfo>