- Smart Software Group - API, Open Data Integration
- Smart Inventory API
- Smart Retail API
- Танилцуулга
- Борлуулалт илгээх
- Хүргэлтийн захиалга илгээх
- Сугалааны дугаар татахGET
- TokenGET
- Smart Distribution API
- Танилцуулга
- Лавлах
- Борлуулалт
- Тайлан
- Smart Loyalty API
- Танилцуулга
- Картын мэдээлэл авахGET
- Картын хүсэлт илгээхPOST
- Бонусын баримтын жагсаалт татахGET
- Лояалти картын нууц үг солихPOST
- Лояалти харилцагчийн утасны дугаар бонусын хувь татахGET
- Картын жагсаалт татахGET
- Худалдан авалтын жагсаалт татахGET
- TokenGET
- Ваучерийн жагсаалтGET
- Бонусын баримт илгээхPOST
- Картын QR мэдээлэл авахGET
- Smart Accounting OpenData
- Smart Distribution OpenData
- Smart Retail OpenData
- Smart Restaurant OpenData
- Smart Restaurant API
- Smart Hotel API
- Smart Accounting API
- Smart HCM API
Бараа олноор хайх
POST
https://retailapiv2.smartlogic.mn/api/inventory/products/
Request
Authorization
Provide your bearer token in the
Authorization
header when making requests to protected resources.Example:
Authorization: Bearer ********************
Body Params application/x-www-form-urlencoded
customerId
string
optional
Example:
10001
priceChannelId
string
optional
Example:
001
beginPage
string
optional
Example:
1
pageCount
string
optional
Example:
10
Request samples
Shell
JavaScript
Java
Swift
Go
PHP
Python
HTTP
C
C#
Objective-C
Ruby
OCaml
Dart
R
Request Request Example
Shell
JavaScript
Java
Swift
curl --location --request POST 'https://retailapiv2.smartlogic.mn/api/inventory/products/' \
--data-urlencode 'customerId=10001' \
--data-urlencode 'priceChannelId=001' \
--data-urlencode 'beginPage=1' \
--data-urlencode 'pageCount=10'
Responses
🟢200Success
application/json
Body
begin_page
integer
required
count
integer
required
total_page_count
integer
required
item_models
array [object {31}]
required
id
string
required
name
string
required
barcode
string
required
baseprice
integer
required
price
integer
required
stock_locations
array [object {4}]
required
stock_pricechannels
array [object {3}]
required
item_discounts
array [object {8}]
required
brandId
string
required
brandName
string
required
itemCatogoryId
string
required
itemCatogoryName
string
required
itemSpecialFeatureId
null
required
itemSpecialFeatureName
null
required
note
null
required
itemSizeId
null
required
itemSizeName
null
required
itemColorId
null
required
itemColorName
null
required
genderId
null
required
genderName
null
required
instructions
string
required
termsOfUse
string
required
ingredients
string
required
warning
string
required
itemGroupName
string
required
manufacturerName
string
required
itemSubCategoryId
string
required
itemSubCategoryName
string
required
shelfId
string
required
shelfName
string
required
Example
{
"begin_page": 1,
"count": 50,
"total_page_count": 1430,
"item_models": [
{
"id": "10021",
"name": "Light Red Wine",
"barcode": "8000040002509",
"baseprice": 150000,
"price": 4500,
"stock_locations": [
{
"location_id": "112",
"count_on_hand": 48,
"baseprice": 150000,
"price": 4500
}
],
"stock_pricechannels": [
{
"pricechannel_id": "001",
"baseprice": 150000,
"price": 1500
},
{
"pricechannel_id": "002",
"baseprice": 150000,
"price": 4500
},
{
"pricechannel_id": "006",
"baseprice": 150000,
"price": 900
},
{
"pricechannel_id": "007",
"baseprice": 150000,
"price": 300
},
{
"pricechannel_id": "008",
"baseprice": 150000,
"price": 1500
},
{
"pricechannel_id": "014",
"baseprice": 150000,
"price": 9000
},
{
"pricechannel_id": "019",
"baseprice": 150000,
"price": 3000
}
],
"item_discounts": [
{
"warehouse_id": null,
"begin_date": "2024-01-01T00:00:00",
"end_date": "2024-12-31T00:00:00",
"percent": 20,
"amount": 0,
"begin_time": null,
"end_time": null,
"day_of_week": null
}
],
"brandId": "01",
"brandName": "Budwiser",
"itemCatogoryId": "01",
"itemCatogoryName": "Хүнсний бараа",
"itemSpecialFeatureId": null,
"itemSpecialFeatureName": null,
"note": null,
"itemSizeId": null,
"itemSizeName": null,
"itemColorId": null,
"itemColorName": null,
"genderId": null,
"genderName": null,
"instructions": "",
"termsOfUse": "",
"ingredients": "",
"warning": "",
"itemGroupName": "itemGroupName",
"manufacturerName": "manufacturerName",
"itemSubCategoryId": "itemSubCategoryId",
"itemSubCategoryName": "itemSubCategoryName",
"shelfId": "shelfId",
"shelfName": "shelfName"
},
{
"id": "10020",
"name": "Budwiser 0.33L",
"barcode": "8656002891171",
"baseprice": 530,
"price": 1500,
"stock_locations": [
{
"location_id": "112",
"count_on_hand": 69,
"baseprice": 530,
"price": 1500
}
],
"stock_pricechannels": [
{
"pricechannel_id": "002",
"baseprice": 530,
"price": 1500
},
{
"pricechannel_id": "006",
"baseprice": 530,
"price": 1800
},
{
"pricechannel_id": "014",
"baseprice": 530,
"price": 3000
}
],
"item_discounts": [],
"brandId": "01",
"brandName": "Budwiser",
"itemCatogoryId": "01",
"itemCatogoryName": "Хүнсний бараа",
"itemSpecialFeatureId": null,
"itemSpecialFeatureName": null,
"note": null,
"itemSizeId": null,
"itemSizeName": null,
"itemColorId": null,
"itemColorName": null,
"genderId": null,
"genderName": null,
"instructions": "",
"termsOfUse": "",
"ingredients": "",
"warning": "",
"itemGroupName": "itemGroupName",
"manufacturerName": "manufacturerName",
"itemSubCategoryId": "itemSubCategoryId",
"itemSubCategoryName": "itemSubCategoryName",
"shelfId": "shelfId",
"shelfName": "shelfName"
}
]
}
Modified at 2024-06-18 01:52:31