GET product/get?code={code}

This will return product details based on the code

Request Information

Parameters

NameDescriptionAdditional information
code
Accepts Code

Define this parameter in the request URI.

Response Information

Response body formats

application/json, text/json

Sample:
{
  "Id": 1,
  "Name": "sample string 2",
  "ProductCode": "sample string 3",
  "Price": 4.0,
  "RRP": 1.0,
  "VatRate": 5.0,
  "AvailableStock": 1,
  "NewProductCode": "sample string 6",
  "MatrixCode": "sample string 7",
  "DateAdded": "2024-11-21T11:21:02.2969843+00:00",
  "CostPrice": 8.1,
  "Visible": true,
  "IsNonDiscount": true,
  "IsStockProduct": true,
  "IsNew": true,
  "IsBestSeller": true,
  "OnOffer": true,
  "SoldOut": true,
  "Reserved": true,
  "EcoFriendly": true,
  "Discontinued": true,
  "VisibleToEveryone": true
}

application/xml, text/xml

Sample:
<ProductModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Webi.Api2.Models">
  <AvailableStock>1</AvailableStock>
  <CostPrice>8.1</CostPrice>
  <DateAdded>2024-11-21T11:21:02.2969843+00:00</DateAdded>
  <Discontinued>true</Discontinued>
  <EcoFriendly>true</EcoFriendly>
  <Id>1</Id>
  <IsBestSeller>true</IsBestSeller>
  <IsNew>true</IsNew>
  <IsNonDiscount>true</IsNonDiscount>
  <IsStockProduct>true</IsStockProduct>
  <MatrixCode>sample string 7</MatrixCode>
  <Name>sample string 2</Name>
  <NewProductCode>sample string 6</NewProductCode>
  <OnOffer>true</OnOffer>
  <Price>4</Price>
  <ProductCode>sample string 3</ProductCode>
  <RRP>1</RRP>
  <Reserved>true</Reserved>
  <SoldOut>true</SoldOut>
  <VatRate>5</VatRate>
  <Visible>true</Visible>
  <VisibleToEveryone>true</VisibleToEveryone>
</ProductModel>