GET api/v1/products/{id}

Gets a product

Request Information

URI Parameters

Name Description Type Additional information
id integer Required

Response Information

Resource Description

No information available

Name Description Type Additional information
AutoStockHistory Flag that shows if this product has any automatic stock control boolean No additional information available.
ProductDetail Details of the product string No additional information available.
ProductID ID of the Product integer No additional information available.
Reference Reference of the product string No additional information available.
TaxID Product tax ID integer No additional information available.
Name Product display name. Can be null string No additional information available.
ApplyRetention Checks if the product applies retention boolean No additional information available.
ProductType Product type ProductType No additional information available.
StandardCost Buy price without taxes decimal number No additional information available.
SellPrice Sell price without taxes decimal number No additional information available.
DiscountRate Rate of the product discount decimal number No additional information available.
DiscontinuedDate Date when the product was discontinued, if it's the case date No additional information available.
StockQuantity Stock quantity decimal number No additional information available.
Tax Product tax information SimpleTaxInfo No additional information available.
MeasurementUnit Product measurement unit MeasurementUnitInfo No additional information available.

Response Formats

application/json, text/json

Sample:
                    
{
  "autoStockHistory": true,
  "productDetail": "sample string 2",
  "productID": 3,
  "reference": "sample string 4",
  "taxID": 5,
  "name": "sample string 6",
  "applyRetention": true,
  "productType": 0,
  "standardCost": 8.0,
  "sellPrice": 9.0,
  "discountRate": 10.0,
  "discontinuedDate": "2021-10-25T15:13:46.2520707+01:00",
  "stockQuantity": 11.0,
  "tax": {
    "taxID": 1,
    "name": "sample string 2",
    "taxRate": 3.0
  },
  "measurementUnit": {
    "unitID": 1,
    "name": "sample string 2",
    "abbreviation": "sample string 3",
    "isActive": true
  }
}