GET products/{productid}
Get a single product by ID. All data is included.
Request Information
URI Parameters
Name | Description | Type | Additional information |
---|---|---|---|
productid | The product ID to retrieve. | integer | Required |
Body Parameters
None.
Response Information
Resource Description
Get a single product by ID. All data is included.
ProductModelName | Description | Type | Additional information |
---|---|---|---|
ProductID | The ID of the Product | integer | None. |
SKU | The Sku of the Product. | string | None. |
Name | The name that was given to the product. | string | None. |
ProductGUID | The Guid of the product. | globally unique identifier | None. |
ParentProduct | The Parent product of the product. | ProductBaseModel | None. |
ProductType | The product type. For instance: Kit, Simple, Parent. | ProductType | None. |
Suppliers | The suppliers specified for the product. | Collection of ProductSupplierModel | None. |
GlobalTradeIdentifiers | This container contains items like EAN, UPC and additional barcodes | ProductGlobalTradeIdentifiers | None. |
WarehouseInformation | This contains warehouse information like Pickbin, WarehouseZone etc. | ProductWarehouseInformationModel | None. |
PricingInformation | Product pricing info for instance: Price, RRP, Includes VAT. TaxClass | ProductPricingInfoModel | None. |
InventoryInformation | A container to hold all of the inventory information for the product. | ProductInventoryInfoModel | None. |
Categories | The categories that the product is a part of. | Collection of CategoryBaseModel | None. |
Brand | The brand of the product | string | None. |
Description | The products Description | string | None. |
Archived | The products archived status | boolean | None. |
IsAkit | Whether the product is a kit or not. | boolean | None. |
ProductImages | Collection of ProductImageModel | None. | |
ManufacturerPartNumber | The products Manufacturer Part number. | string | None. |
CreatedOnDate | The created date of the product. | date | None. |
LastModifiedDate | The last modified Date of the product. | date | None. |
Children | The child products associated to the parent. | Collection of ProductChildModel | None. |
CustomAttributes | The custom Attributes for the product. | Collection of ProductCustomAttributeModel | None. |
ProductAdditions | Collection of ProductAdditionsModel | None. | |
ProductSpecialAttribute | The Products Special Attribute. | string | None. |
Response Formats
application/json, text/json
Sample:
{ "ProductID": 1, "SKU": "Shoes", "Name": "Shoes", "ProductGUID": "ae90b65f-f0c2-47ce-b2d7-614278a0c951", "ProductType": "Parent", "Suppliers": [ { "Supplier": { "Currency": { "CurrencyID": 44, "CurrencyCode": "GBP", "CurrencyName": "British Pounds", "Symbol": "£" }, "SupplierID": 1, "Name": "Supplier 1" }, "SupplierSKU": "sup1", "SupplierCosts": 4.5, "SupplierStockLevel": 12, "SupplierLeadTime": 2, "SupplierCartonQuantities": 1, "Priority": 0, "SupplierMinOrderAmount": 1 } ], "GlobalTradeIdentifiers": { "EAN": "12345678910", "UPC": "123456789123", "AdditionalBarcodes": [ "barcode1", "barcode2" ] }, "WarehouseInformation": { "Warehouse": { "WarehouseName": "My Warehouse", "WarehouseGuid": "1fbb89f5-0baa-4499-bc76-d9f38abfcb4c", "WarehouseID": 1 }, "StockLocations": [ { "StockLocation": { "StockLocationID": 1234, "StockLocationReference": "pb-1", "LocationOrder": 1, "Warehouse": { "WarehouseName": "My Warehouse", "WarehouseGuid": "43d6ecf8-6b7e-4a0e-b801-1b35792b50e1", "WarehouseID": 1 }, "WarehouseZone": { "WarehouseZoneID": 3343, "Name": "Wz-1" }, "StockLocationType": "Pickbin", "IsQuarantined": false }, "Available": 100, "Allocated": 1, "PhysicalStock": 101, "PendingOut": 0, "ExpiryDate": "2024-05-26T00:00:00", "DeliveredDate": "2024-11-21T08:01:49.6018258Z", "BatchReference": "reference" } ], "CartonQuantity": 1, "LeadTime": 3, "ContainsHazardousMaterials": false, "IsFragile": false, "UnitOfMeasure": "CM", "Weight": 1.0, "Dimensions": { "HeightMM": 100.0, "WidthMM": 102.76, "LengthMM": 50.0 }, "Packaging": { "PackagingID": 1, "PackagingName": "Parcel" }, "PackagingQuantity": 1, "ProductTypeDescription": "shoes", "DetailedProductTypeDescription": "Shoes and laces", "ProductComposition": "Leather", "ProductHarmonizedCode": "", "RecordSerialNumberOnBarcodeDespatch": false, "NextDeliveryDate": "2024-07-29T00:00:00", "IsAmazonTransparency": false }, "PricingInformation": { "TaxClass": { "Name": "Standard UK", "TaxRate": 20.0, "TaxClassID": 4 }, "Price": 15.99, "RRP": 10.0, "Margin": 1.5, "AverageCost": 10.5, "AverageCostExVat": 8.75, "PriceIncludesVat": true, "LastCostPrice": 0.0, "LastCostPriceExVat": 0.0 }, "InventoryInformation": { "Inventory": 100, "QuarantinedInventory": 5, "Allocated": 1, "OnBackOrder": 0, "OnPurchaseOrder": 10, "ManualReorderLevel": 10, "CalculatedReorderLevel": 5, "SoldLast30Days": 20, "SoldLast90Days": 50, "SoldLast120Days": 100, "LastOrderedDate": "2024-11-19T08:01:49.6018258Z" }, "Categories": [ { "CategoryID": 1, "CategoryName": "Shoes" }, { "CategoryID": 2, "CategoryName": "Trainers" } ], "Brand": "Brand 1", "Description": "A pair of shoes.", "Archived": true, "IsAkit": true, "ProductImages": [ { "ProductImageID": 1, "ImageURL": "http://storefeeder.com/images/1.jpg", "Order": 1, "Height": 1000, "Width": 1000 }, { "ProductImageID": 2, "ImageURL": "http://storefeeder.com/images/2.jpg", "Order": 1, "Height": 1000, "Width": 1000 } ], "ManufacturerPartNumber": "mfn1234", "CreatedOnDate": "2024-10-22T08:01:49.6018258Z", "LastModifiedDate": "2024-11-06T08:01:49.6018258Z", "Children": [ { "Product": { "ProductID": 2, "SKU": "shoe-1" }, "VariantAttributes": [ { "Name": "Colour", "Value": "Red" }, { "Name": "Size", "Value": "8" } ] }, { "Product": { "ProductID": 3, "SKU": "shoe-2" }, "VariantAttributes": [ { "Name": "Colour", "Value": "Red" }, { "Name": "Size", "Value": "9" } ] }, { "Product": { "ProductID": 4, "SKU": "shoe-3" }, "VariantAttributes": [ { "Name": "Colour", "Value": "Blue" }, { "Name": "Size", "Value": "8" } ] }, { "Product": { "ProductID": 5, "SKU": "shoe-4" }, "VariantAttributes": [ { "Name": "Colour", "Value": "Blue" }, { "Name": "Size", "Value": "9" } ] } ], "CustomAttributes": [ { "CustomAttribute": { "CustomAttributeID": 1, "CustomAttributeName": "Material" }, "Value": "Leather" }, { "CustomAttribute": { "CustomAttributeID": 2, "CustomAttributeName": "Includes Batteries" }, "Value": "false" } ], "ProductSpecialAttribute": "Sold by the pair" }
application/xml, text/xml
Sample:
<ProductModel xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"> <ProductID>1</ProductID> <SKU>Shoes</SKU> <Name>Shoes</Name> <ProductGUID>ae90b65f-f0c2-47ce-b2d7-614278a0c951</ProductGUID> <ProductType>Parent</ProductType> <Suppliers> <ProductSupplierModel> <SupplierSKU>sup1</SupplierSKU> <SupplierCosts>4.50</SupplierCosts> <SupplierStockLevel>12</SupplierStockLevel> <SupplierLeadTime>2</SupplierLeadTime> <SupplierCartonQuantities>1</SupplierCartonQuantities> <Priority>0</Priority> <SupplierMinOrderAmount>1</SupplierMinOrderAmount> <Supplier> <SupplierID>1</SupplierID> <Name>Supplier 1</Name> <Currency> <CurrencyID>44</CurrencyID> <CurrencyCode>GBP</CurrencyCode> <CurrencyName>British Pounds</CurrencyName> <Symbol>£</Symbol> </Currency> </Supplier> </ProductSupplierModel> </Suppliers> <GlobalTradeIdentifiers> <EAN>12345678910</EAN> <UPC>123456789123</UPC> <AdditionalBarcodes> <string>barcode1</string> <string>barcode2</string> </AdditionalBarcodes> </GlobalTradeIdentifiers> <WarehouseInformation> <CartonQuantity>1</CartonQuantity> <LeadTime>3</LeadTime> <ContainsHazardousMaterials>false</ContainsHazardousMaterials> <IsFragile>false</IsFragile> <UnitOfMeasure>CM</UnitOfMeasure> <Weight>1</Weight> <Dimensions> <HeightMM>100</HeightMM> <WidthMM>102.76</WidthMM> <LengthMM>50</LengthMM> </Dimensions> <Packaging> <PackagingID>1</PackagingID> <PackagingName>Parcel</PackagingName> </Packaging> <PackagingQuantity>1</PackagingQuantity> <PackagingQuantityDecimal xsi:nil="true" /> <ProductTypeDescription>shoes</ProductTypeDescription> <DetailedProductTypeDescription>Shoes and laces</DetailedProductTypeDescription> <ProductComposition>Leather</ProductComposition> <ProductHarmonizedCode /> <RecordSerialNumberOnBarcodeDespatch>false</RecordSerialNumberOnBarcodeDespatch> <NextDeliveryDate>2024-07-29T00:00:00</NextDeliveryDate> <IsAmazonTransparency>false</IsAmazonTransparency> <Warehouse> <WarehouseName>My Warehouse</WarehouseName> <WarehouseGuid>1fbb89f5-0baa-4499-bc76-d9f38abfcb4c</WarehouseGuid> <WarehouseID>1</WarehouseID> </Warehouse> <StockLocations> <ProductStockLocationModel> <StockLocation> <StockLocationID>1234</StockLocationID> <StockLocationReference>pb-1</StockLocationReference> <LocationOrder>1</LocationOrder> <Warehouse> <WarehouseName>My Warehouse</WarehouseName> <WarehouseGuid>43d6ecf8-6b7e-4a0e-b801-1b35792b50e1</WarehouseGuid> <WarehouseID>1</WarehouseID> </Warehouse> <WarehouseZone> <WarehouseZoneID>3343</WarehouseZoneID> <Name>Wz-1</Name> </WarehouseZone> <StockLocationType>Pickbin</StockLocationType> <IsQuarantined>false</IsQuarantined> </StockLocation> <Available>100</Available> <Allocated>1</Allocated> <PhysicalStock>101</PhysicalStock> <PendingOut>0</PendingOut> <ExpiryDate>2024-05-26T00:00:00</ExpiryDate> <DeliveredDate>2024-11-21T08:01:49.6018258Z</DeliveredDate> <BatchReference>reference</BatchReference> </ProductStockLocationModel> </StockLocations> </WarehouseInformation> <PricingInformation> <Price>15.99</Price> <RRP>10.00</RRP> <Margin>1.50</Margin> <AverageCost>10.50</AverageCost> <AverageCostExVat>8.75</AverageCostExVat> <PriceIncludesVat>true</PriceIncludesVat> <LastCostPrice>0.00</LastCostPrice> <LastCostPriceExVat>0.00</LastCostPriceExVat> <TaxClass> <TaxClassID>4</TaxClassID> <Name>Standard UK</Name> <TaxRate>20</TaxRate> </TaxClass> </PricingInformation> <InventoryInformation> <Inventory>100</Inventory> <QuarantinedInventory>5</QuarantinedInventory> <Allocated>1</Allocated> <OnBackOrder>0</OnBackOrder> <OnPurchaseOrder>10</OnPurchaseOrder> <ManualReorderLevel>10</ManualReorderLevel> <CalculatedReorderLevel>5</CalculatedReorderLevel> <SoldLast30Days>20</SoldLast30Days> <SoldLast90Days>50</SoldLast90Days> <SoldLast120Days>100</SoldLast120Days> <LastOrderedDate>2024-11-19T08:01:49.6018258Z</LastOrderedDate> </InventoryInformation> <Categories> <CategoryBaseModel> <CategoryID>1</CategoryID> <CategoryName>Shoes</CategoryName> </CategoryBaseModel> <CategoryBaseModel> <CategoryID>2</CategoryID> <CategoryName>Trainers</CategoryName> </CategoryBaseModel> </Categories> <Brand>Brand 1</Brand> <Description>A pair of shoes.</Description> <Archived>true</Archived> <IsAkit>true</IsAkit> <ProductImages> <ProductImageModel> <ProductImageID>1</ProductImageID> <ImageURL>http://storefeeder.com/images/1.jpg</ImageURL> <Order>1</Order> <Height>1000</Height> <Width>1000</Width> </ProductImageModel> <ProductImageModel> <ProductImageID>2</ProductImageID> <ImageURL>http://storefeeder.com/images/2.jpg</ImageURL> <Order>1</Order> <Height>1000</Height> <Width>1000</Width> </ProductImageModel> </ProductImages> <ManufacturerPartNumber>mfn1234</ManufacturerPartNumber> <CreatedOnDate>2024-10-22T08:01:49.6018258Z</CreatedOnDate> <LastModifiedDate>2024-11-06T08:01:49.6018258Z</LastModifiedDate> <Children> <ProductChildModel> <Product> <ProductID>2</ProductID> <SKU>shoe-1</SKU> </Product> <VariantAttributes> <ProductVariantAttribute> <Name>Colour</Name> <Value>Red</Value> </ProductVariantAttribute> <ProductVariantAttribute> <Name>Size</Name> <Value>8</Value> </ProductVariantAttribute> </VariantAttributes> </ProductChildModel> <ProductChildModel> <Product> <ProductID>3</ProductID> <SKU>shoe-2</SKU> </Product> <VariantAttributes> <ProductVariantAttribute> <Name>Colour</Name> <Value>Red</Value> </ProductVariantAttribute> <ProductVariantAttribute> <Name>Size</Name> <Value>9</Value> </ProductVariantAttribute> </VariantAttributes> </ProductChildModel> <ProductChildModel> <Product> <ProductID>4</ProductID> <SKU>shoe-3</SKU> </Product> <VariantAttributes> <ProductVariantAttribute> <Name>Colour</Name> <Value>Blue</Value> </ProductVariantAttribute> <ProductVariantAttribute> <Name>Size</Name> <Value>8</Value> </ProductVariantAttribute> </VariantAttributes> </ProductChildModel> <ProductChildModel> <Product> <ProductID>5</ProductID> <SKU>shoe-4</SKU> </Product> <VariantAttributes> <ProductVariantAttribute> <Name>Colour</Name> <Value>Blue</Value> </ProductVariantAttribute> <ProductVariantAttribute> <Name>Size</Name> <Value>9</Value> </ProductVariantAttribute> </VariantAttributes> </ProductChildModel> </Children> <CustomAttributes> <ProductCustomAttributeModel> <CustomAttribute> <CustomAttributeID>1</CustomAttributeID> <CustomAttributeName>Material</CustomAttributeName> </CustomAttribute> <Value>Leather</Value> </ProductCustomAttributeModel> <ProductCustomAttributeModel> <CustomAttribute> <CustomAttributeID>2</CustomAttributeID> <CustomAttributeName>Includes Batteries</CustomAttributeName> </CustomAttribute> <Value>false</Value> </ProductCustomAttributeModel> </CustomAttributes> <ProductSpecialAttribute>Sold by the pair</ProductSpecialAttribute> </ProductModel>