GET v1/PurchaseProduct/{purchaseProductId}

Get detailed information about a PurchaseProduct.

Request Information

Requires Authorization!

URI Parameters

NameDescriptionTypeAdditional information
purchaseProductId

The PurchaseProduct Id

integer

Required.

Body Parameters

None.

Response Information

Resource Description

A PurchaseProduct object.


PurchaseProduct
NameDescriptionTypeAdditional information
ShippingCostsExVAT

Gets or sets the shipping costs (exclude VAT).

decimal number

None.

ForeignPurchasePriceExVAT

Gets or sets the foreign purchase price (exclude VAT).

decimal number

None.

ExchangeRate

Gets or sets the exchange rate.

decimal number

Required

DeliverTimeDays

Gets or sets the deliver time days.

integer

None.

EndOfLife

boolean

Required

Available

Gets or sets a value indicating whether this is available.

boolean

Required

Name

string

Max length: 300

CanDropship

boolean

Required

PurchaseOrderUnitQty

integer

None.

PurchaseOrderMinQty

integer

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:
{
  "ShippingCostsExVAT": 1.0,
  "ForeignPurchasePriceExVAT": 1.0,
  "ExchangeRate": 1.0,
  "DeliverTimeDays": 1,
  "EndOfLife": true,
  "Available": true,
  "Name": "sample string 4",
  "CanDropship": true,
  "PurchaseOrderUnitQty": 1,
  "PurchaseOrderMinQty": 1,
  "Id": 6,
  "SupplierId": 7,
  "SupplierSKU": "sample string 8",
  "PurchasePriceExVAT": 1.0
}

application/xml, text/xml

Sample:
<PurchaseProduct xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
  <Id>6</Id>
  <SupplierId>7</SupplierId>
  <SupplierSKU>sample string 8</SupplierSKU>
  <PurchasePriceExVAT>1</PurchasePriceExVAT>
  <ShippingCostsExVAT>1</ShippingCostsExVAT>
  <ForeignPurchasePriceExVAT>1</ForeignPurchasePriceExVAT>
  <ExchangeRate>1</ExchangeRate>
  <DeliverTimeDays>1</DeliverTimeDays>
  <EndOfLife>true</EndOfLife>
  <Available>true</Available>
  <Name>sample string 4</Name>
  <CanDropship>true</CanDropship>
  <PurchaseOrderUnitQty>1</PurchaseOrderUnitQty>
  <PurchaseOrderMinQty>1</PurchaseOrderMinQty>
</PurchaseProduct>