GET api/Product/GetProductByBarcode?ean={ean}
Get Product By Barcode or SKU
Request Information
URI Parameters
Name | Description | Type | Additional information |
---|---|---|---|
ean | string |
Required |
Body Parameters
None.
Response Information
Resource Description
ProductName | Description | Type | Additional information |
---|---|---|---|
Id | globally unique identifier |
None. |
|
Name | string |
Max length: 200 |
|
SKU | string |
Max length: 200 |
|
BarCode | string |
Max length: 100 |
|
PLU | string |
Max length: 100 |
|
GroupId | globally unique identifier |
None. |
|
SupplierId | globally unique identifier |
None. |
|
SupplierSKU | string |
Max length: 100 |
|
BrandId | integer |
None. |
|
Description | string |
Max length: 150 |
|
LongDescription | string |
Max length: 1000 |
|
BongTitle | string |
Max length: 100 |
|
TextColor | string |
Max length: 10 |
|
ColorCode | string |
Max length: 10 |
|
IconId | integer |
None. |
|
ShowItemButton | boolean |
None. |
|
ShowGroupItem | boolean |
None. |
|
Price | decimal number |
None. |
|
PurchasePrice | decimal number |
None. |
|
Tax | decimal number |
None. |
|
Unit | ProductUnit |
None. |
|
AskPrice | boolean |
None. |
|
AskWeight | boolean |
None. |
|
PriceLock | boolean |
None. |
|
PrinterId | integer |
None. |
|
PlaceHolder | boolean |
None. |
|
AskVolume | boolean |
None. |
|
NeedIngredient | boolean |
None. |
|
Bong | boolean |
None. |
|
Sticky | integer |
None. |
|
Seamless | boolean |
None. |
|
AccountingId | integer |
None. |
|
ReceiptMethod | ReceiptMethod |
None. |
|
ItemType | ItemType |
None. |
|
DiscountAllowed | boolean |
None. |
|
PreparationTime | PrepareTime |
None. |
|
IngredientPopup | boolean |
None. |
|
DefaultCartQty | decimal number |
None. |
|
SortOrder | integer |
None. |
|
Active | boolean |
None. |
|
Deleted | boolean |
None. |
|
Weight | decimal number |
None. |
|
Availability | boolean |
None. |
|
ServeType | byte |
None. |
|
Synced | boolean |
None. |
|
DemandIdControl | boolean |
None. |
|
Discontinued | boolean |
None. |
|
AskPLU | boolean |
None. |
|
NoticeStockLevel | decimal number |
None. |
|
DefaultUnit | ProductUnit |
None. |
|
ManageStock | integer |
None. |
|
PriceRek | decimal number |
None. |
|
CommentsRequired | boolean |
None. |
|
TicketQty | integer |
None. |
|
MinCartQty | decimal number |
None. |
|
MinQtyAlert | decimal number |
None. |
|
ComissionPercent | decimal number |
None. |
|
PantPrice | decimal number |
None. |
|
TrackAmount | boolean |
None. |
|
SaleUnitSuffix | string |
None. |
|
QtyPerSaleUnit | decimal number |
None. |
|
AutoClose | boolean |
None. |
|
ButtonTitle | string |
Max length: 100 |
|
Created | date |
None. |
|
Updated | date |
None. |
|
UpdatedBy | globally unique identifier |
None. |
|
CategoryId | integer |
None. |
|
Campaign | CampaignMaster |
None. |
|
ItemsTags | Collection of ItemTag |
None. |
|
ItemCampaign | ItemCampaign |
None. |
|
HasPricePolicy | boolean |
None. |
|
ItemCategory | Collection of ItemCategory |
None. |
|
ItemIdex | integer |
None. |
|
PolicyGroupId | integer |
None. |
|
HasCampaign | boolean |
None. |
|
Products | Collection of Product |
None. |
|
ColorName | string |
None. |
|
Type | integer |
None. |
|
ImagePath | string |
None. |
|
ImageVisibility | boolean |
None. |
|
ifExists | string |
None. |
|
ProductPrices | Collection of ProductPrice |
None. |
|
Ingredients | Collection of Product |
None. |
|
Variants | Collection of ItemConfiguration |
None. |
|
ItemOption | Collection of ItemOption |
None. |
|
ShowOnReceipt | boolean |
None. |
|
QuickAdd | boolean |
None. |
|
HasIngredients | boolean |
None. |
|
CategoryItemGroups | Collection of CategoryItemGroup |
None. |
|
ItemPricePolicies | Collection of Item_PricePolicy |
None. |
|
PriceGroupPolicies | Collection of PriceGroupPolicy |
None. |
|
Photo | Collection of byte |
None. |
|
GroupPrice | decimal number |
None. |
|
ExternalId | string |
None. |
|
IngredientQty | decimal number |
None. |
|
StockQty | decimal number |
None. |
|
LocalStockNull | boolean |
None. |
|
StockInitialCount | decimal number |
None. |
|
Selected | boolean |
None. |
|
ShowWarhouseStock | boolean |
None. |
|
ShowStockQty | boolean |
None. |
|
HideStockQty | boolean |
None. |
|
IsRUT | boolean |
None. |
|
NotSelected | boolean |
None. |
|
IsInActive | boolean |
None. |
|
CreatedBy | string |
None. |
|
TerminalId | globally unique identifier |
None. |
|
CategoryName | string |
None. |
|
ShowCategoryName | boolean |
None. |
|
DiscountedPrice | decimal number |
None. |
|
Qty | decimal number |
None. |
|
ConfigurationId | integer |
None. |
|
ItemOptionId | globally unique identifier |
None. |
|
PriceAdd | decimal number |
None. |
|
PriceRemove | decimal number |
None. |
|
FreeQty | decimal number |
None. |
|
MinQty | decimal number |
None. |
|
MaxQty | decimal number |
None. |
|
PLUNumeric | integer |
None. |
|
ScalePrice | decimal number |
None. |
|
IsManageStock | boolean |
None. |
|
PriceExlTax | decimal number |
None. |
|
IndexId | integer |
None. |
|
IsSelected | boolean |
None. |
Response Formats
application/json, text/json
{ "Id": "a082c203-87c9-4f74-af79-37207b93f9f9", "Name": "sample string 2", "SKU": "sample string 3", "BarCode": "sample string 4", "PLU": "sample string 5", "GroupId": "50a28f50-3c92-48fa-b9fb-d3afcebcb971", "SupplierId": "986eff8e-72a8-4102-aaf5-25c7322e938e", "SupplierSKU": "sample string 7", "BrandId": 8, "Description": "sample string 9", "LongDescription": "sample string 10", "BongTitle": "sample string 11", "TextColor": "sample string 12", "ColorCode": "sample string 13", "IconId": 14, "ShowItemButton": true, "ShowGroupItem": true, "Price": 17.0, "PurchasePrice": 18.0, "Tax": 19.0, "Unit": 0, "AskPrice": true, "AskWeight": true, "PriceLock": true, "PrinterId": 23, "PlaceHolder": true, "AskVolume": true, "NeedIngredient": true, "Bong": true, "Sticky": 28, "Seamless": true, "AccountingId": 30, "ReceiptMethod": 0, "ItemType": 0, "DiscountAllowed": true, "PreparationTime": 0, "IngredientPopup": true, "DefaultCartQty": 33.0, "SortOrder": 34, "Active": true, "Deleted": true, "Weight": 37.0, "Availability": true, "ServeType": 64, "Synced": true, "DemandIdControl": true, "Discontinued": true, "AskPLU": true, "NoticeStockLevel": 44.0, "DefaultUnit": 0, "ManageStock": 45, "PriceRek": 46.0, "CommentsRequired": true, "TicketQty": 48, "MinCartQty": 49.0, "MinQtyAlert": 50.0, "ComissionPercent": 51.0, "PantPrice": 52.0, "TrackAmount": true, "SaleUnitSuffix": "sample string 54", "QtyPerSaleUnit": 55.0, "AutoClose": true, "ButtonTitle": "sample string 57", "Created": "2025-07-04T14:57:50.3966007+02:00", "Updated": "2025-07-04T14:57:50.3966007+02:00", "UpdatedBy": "17f927bc-154f-42a4-a628-5f6f51dc6299", "CategoryId": 60, "Campaign": { "$id": "2", "Id": "fba7e06b-3f3e-4b55-829f-bfccbcdb4517", "CampaignType": 0, "DiscountBy": 0, "BuyLimit": 2, "FreeOffer": 3, "Price": 4.0, "DiscountQtyIncrement": 5, "Description": "sample string 6", "StartDate": "2025-07-04T14:57:50.3966007+02:00", "EndDate": "2025-07-04T14:57:50.3966007+02:00", "Deleted": true, "Updated": "2025-07-04T14:57:50.3966007+02:00", "CampaignPriceDetails": [ { "$id": "3", "Id": "af4ade7c-df5b-41bc-9b5a-fe697739971e", "CampaignId": "fa7ecdd9-fd05-4cf6-bfc1-a92457b4f16b", "Quantity": 3, "PayPrice": 4.0, "Deleted": true, "Updated": "2025-07-04T14:57:50.3966007+02:00" }, { "$ref": "3" } ] }, "ItemsTags": [ { "$id": "4", "Id": "33b17848-fa9e-4ea8-81f1-934da4592775", "TagId": "6de7cc8f-a4bf-442b-92ef-eda8aa405493", "ItemId": "6609dd37-62cc-4e3a-9190-c7e5621e3645", "Deleted": true, "Synced": true, "Updated": "2025-07-04T14:57:50.3966007+02:00", "TagName": "sample string 7" }, { "$ref": "4" } ], "ItemCampaign": { "$id": "5", "UUID": "fafdb955-d75f-4d94-9268-f9f9c1b77e0d", "CampaignTypeId": "OPEN", "Title": "sample string 2", "DiscountBy": 1, "FreeOffer": 1, "BuyLimit": 1, "StartDate": "2025-07-04T14:57:50.3966007+02:00", "EndDate": "2025-07-04T14:57:50.3966007+02:00", "PriceEach": 1.0, "PriceTotal": 1.0, "Grouped": true, "CurrencyCode": "sample string 6", "IncludesVat": true, "CreatedAt": "2025-07-04T14:57:50.3966007+02:00", "CreatedByUUID": "sample string 9", "UpdatedAt": "2025-07-04T14:57:50.3966007+02:00", "UpdatedByUUID": "sample string 10", "DeletedAt": "2025-07-04T14:57:50.3966007+02:00", "DeletedByUUID": "sample string 11", "Synced": true, "ItemPrices": [ { "$id": "6", "UUID": "0f86010a-dcf5-48ed-ba30-4e7fe8dbaa6c", "PriceListUUID": "6ac09ff8-1fbe-4dd4-a989-97478d8828d9", "ItemGroupUUID": "9d00c463-d43c-43c9-bddb-8d98bd9a03dd", "AgreementUUID": "4f6464d2-d7e4-49b1-8975-d75ad973ede3", "CustomerGroupUUID": "bfd27dd5-8fb1-4726-9a0c-7808fe16a1eb", "CustomerUUID": "fc069ecb-83b1-4582-ac91-aaa4e838c8e4", "ProjectUUID": "6c64597c-5e9a-4b0e-82e6-3e9240cc3d66", "CampaignUUID": "89b34837-c530-4044-9db1-14db651c662f", "ItemUUID": "6d55f8b6-eced-458f-a4d7-863d2e04d4e0", "WildCardSKU": "sample string 4", "MinQty": 1.0, "MaxQty": 1.0, "Price": 1.0, "Percentage": 1.0, "Type": "sample string 5", "RegularPrice": true, "ValidFrom": "2025-07-04T14:57:50.3966007+02:00", "ValidTo": "2025-07-04T14:57:50.3966007+02:00", "CreatedAt": "2025-07-04T14:57:50.3966007+02:00", "CreatedByUUID": "sample string 8", "UpdatedAt": "2025-07-04T14:57:50.3966007+02:00", "UpdatedByUUID": "sample string 9", "DeletedAt": "2025-07-04T14:57:50.3966007+02:00", "DeletedByUUID": "sample string 10", "Synced": true, "ItemName": "sample string 12", "CampaignTitle": "sample string 13" }, { "$ref": "6" } ] }, "HasPricePolicy": true, "ItemCategory": [ { "$id": "7", "Id": 1, "ItemId": "a4575745-400d-4314-b396-592c0f83c008", "CategoryId": 3, "SortOrder": 4, "IsPrimary": true, "CategoryBoostId": "sample string 6" }, { "$ref": "7" } ], "ItemIdex": 62, "PolicyGroupId": 63, "HasCampaign": true, "Products": [ { "$ref": "1" }, { "$ref": "1" } ], "ColorName": "sample string 64", "Type": 65, "ImagePath": "sample string 66", "ImageVisibility": true, "ifExists": "sample string 68", "ProductPrices": [ { "$id": "8", "Id": 1, "ItemId": "63618dbc-14f8-409b-a84c-bf10aa920a46", "PurchasePrice": 3.0, "Price": 4.0, "OutletId": "13777926-b70b-415f-9e02-24a81da8747b", "PriceMode": 0, "Updated": "2025-07-04T14:57:50.3966007+02:00" }, { "$ref": "8" } ], "Ingredients": [ { "$ref": "1" }, { "$ref": "1" } ], "Variants": [ { "$id": "9", "Id": 1, "ConfigurationId": "5d5e7824-6c79-40b3-bb51-57f9a8a9be60", "ItemId": "20c64f70-b678-4169-a577-a2e2817b5ea7", "SortOrder": 4, "Deleted": true, "Updated": "2025-07-04T14:57:50.3966007+02:00" }, { "$ref": "9" } ], "ItemOption": [ { "$id": "10", "Id": "5e8265de-5878-4b67-87ff-92f43df1352d", "ItemOptionGroupId": "3ce3487a-0fb3-45d9-befe-bca579beaf27", "ItemId": "329ec405-aca9-455a-b49b-1a004e4e019b", "CategoryId": 4, "Active": true, "Updated": "2025-07-04T14:57:50.3966007+02:00" }, { "$ref": "10" } ], "ShowOnReceipt": true, "QuickAdd": true, "HasIngredients": true, "CategoryItemGroups": [ { "$id": "11", "Id": "f020b11c-0c1e-4db6-b974-826b20e15759", "CategoryId": 2, "GroupId": "b38e7ce2-59c5-4564-9551-a43ac5eabfe2", "Qty": 4.0, "Price": 5.0, "Deleted": true, "SortOrder": 7, "Updated": "2025-07-04T14:57:50.3966007+02:00", "Description": "sample string 9" }, { "$ref": "11" } ], "ItemPricePolicies": [ { "$id": "12", "Id": 1, "ItemId": "e90d8164-28fe-4717-bae0-5a19cb84423f", "BuyLimit": 3, "DiscountAmount": 4.0, "Active": true, "Deleted": true, "Updated": "2025-07-04T14:57:50.3966007+02:00", "PolicyId": 8 }, { "$ref": "12" } ], "PriceGroupPolicies": [ { "$id": "13", "Id": 1, "GroupId": 2, "BuyLimit": 3, "MaxLimit": 4, "DiscountAmount": 5.0, "TotalAmount": 6.0, "Updated": "2025-07-04T14:57:50.3966007+02:00" }, { "$ref": "13" } ], "Photo": "QEA=", "GroupPrice": 71.0, "ExternalId": "sample string 72", "IngredientQty": 73.0, "StockQty": 74.0, "LocalStockNull": true, "StockInitialCount": 76.0, "Selected": true, "ShowWarhouseStock": true, "ShowStockQty": true, "HideStockQty": false, "IsRUT": true, "NotSelected": true, "IsInActive": true, "CreatedBy": "sample string 82", "TerminalId": "7f0312b3-e7d7-4bb6-9ed9-4b04b7e04aff", "CategoryName": "sample string 83", "ShowCategoryName": true, "DiscountedPrice": 84.0, "Qty": 85.0, "ConfigurationId": 86, "ItemOptionId": "360302cf-4219-4d9b-b14f-a409ae52a78a", "PriceAdd": 88.0, "PriceRemove": 89.0, "FreeQty": 90.0, "MinQty": 91.0, "MaxQty": 92.0, "PLUNumeric": 0, "ScalePrice": 93.0, "IsManageStock": false, "PriceExlTax": 20.23, "IndexId": 94, "IsSelected": true }