GET v1/Suppliers/{id}/Products

Get a list with all Products available by the Supplier.

Request Information

Requires Authorization!

URI Parameters

NameDescriptionTypeAdditional information
id

The id of the Supplier.

integer

Required.

Body Parameters

None.

Response Information

Resource Description

IEnumerable<PurchaseProductBasicInfo>.


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>