- 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
Бүтээгдэхүүний мэдээлэл авах
GET
{baseurl}/api/inventory/products
Request
Authorization
Provide your bearer token in the
Authorization
header when making requests to protected resources.Example:
Authorization: Bearer ********************
Path Params
baseurl
string
required
Body Params application/json
object {0}
Example
{}
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 GET '/api/inventory/products' \
--header 'Content-Type: application/json' \
--data-raw '{}'
Responses
🟢200Success
application/json
Body
array of:
id
string
required
name
string
required
barcode
string
required
price
number
required
stock_locations
array [object {3}]
required
location_id
string
required
count_on_hand
number
required
price
number
required
stock_pricechannels
array [object {2}]
required
pricechannel_id
string
optional
price
number
optional
brandId
string | null
required
brandName
string | null
required
itemCatogoryId
string | null
required
itemCatogoryName
string | null
required
itemSpecialFeatureId
string | null
required
itemSpecialFeatureName
string | null
required
note
string | null
required
itemSizeId
string | null
required
itemSizeName
string | null
required
itemColorId
string | null
required
itemColorName
string | null
required
genderId
string | null
required
genderName
string | null
required
Example
[
{
"id": "1000020",
"name": "Бараа - 30",
"barcode": "123456789",
"price": 2500,
"stock_locations": [
{
"location_id": "102",
"count_on_hand": 0,
"price": 2500
}
],
"stock_pricechannels": [],
"brandId": null,
"brandName": null,
"itemCatogoryId": null,
"itemCatogoryName": null,
"itemSpecialFeatureId": null,
"itemSpecialFeatureName": null,
"note": null,
"itemSizeId": null,
"itemSizeName": null,
"itemColorId": null,
"itemColorName": null,
"genderId": null,
"genderName": null
},
{
"id": "1000371",
"name": "1 Scoop",
"barcode": "",
"price": 4000,
"stock_locations": [
{
"location_id": "004",
"count_on_hand": 2.96,
"price": 4000
}
],
"stock_pricechannels": [
{
"pricechannel_id": "testtt",
"price": 3500
}
],
"brandId": null,
"brandName": null,
"itemCatogoryId": null,
"itemCatogoryName": null,
"itemSpecialFeatureId": null,
"itemSpecialFeatureName": null,
"note": null,
"itemSizeId": null,
"itemSizeName": null,
"itemColorId": null,
"itemColorName": null,
"genderId": null,
"genderName": null
}
]
Modified at 2024-06-26 03:56:52