Developer
  1. Үлдэгдэл татах
Developer
  • Smart Software Group - API, Open Data Integration
  • Smart Inventory API
    • Танилцуулга
    • Үлдэгдэл татах
      • token
        GET
      • Бараа хайх
        POST
      • Барааны жагсаалт
        GET
      • Бараа материалын байршил жагсаалт
        GET
      • Бараа олноор хайх
        POST
  • Smart Retail API
    • Танилцуулга
    • Борлуулалт илгээх
      • Борлуулалт илгээх
      • Борлуулалтын буцаалт
      • Борлуулалт шалгах
    • Хүргэлтийн захиалга илгээх
      • Банкны жагсаалт татах
      • Захиалга илгээх
      • Захиалгын буцаалт
    • Сугалааны дугаар татах
      GET
    • Token
      GET
  • Smart Distribution API
    • Танилцуулга
    • Лавлах
      • access_token
      • customers
    • Борлуулалт
      • sale
      • saleitem
      • saleinfo
      • param/saleinfo
    • Тайлан
  • Smart Loyalty API
    • Танилцуулга
    • Картын мэдээлэл авах
      GET
    • Картын хүсэлт илгээх
      POST
    • Бонусын баримтын жагсаалт татах
      GET
    • Лояалти картын нууц үг солих
      POST
    • Лояалти харилцагчийн утасны дугаар бонусын хувь татах
      GET
    • Картын жагсаалт татах
      GET
    • Худалдан авалтын жагсаалт татах
      GET
    • Token
      GET
    • Ваучерийн жагсаалт
      GET
    • Бонусын баримт илгээх
      POST
    • Картын QR мэдээлэл авах
      GET
  • Smart Accounting OpenData
    • Танилцуулга
  • Smart Distribution OpenData
    • Танилцуулга
  • Smart Retail OpenData
    • Танилцуулга
  • Smart Restaurant OpenData
    • Танилцуулга
  • Smart Restaurant API
    • Танилцуулга
    • Борлуулалт илгээх
      • Борлуулалт илгээх
      • token
      • Бүтээгдэхүүний мэдээлэл авах
  • Smart Hotel API
    • Танилцуулга
    • Захиалга үүсгэх
      • Банкны мэдээлэл авах
      • Өрөөний захиалах боломжтой эсэх мэдээлэл авах
      • Захиалга үүсгэх
      • token
      • Өрөөний мэдээлэл авах
  • Smart Accounting API
    • Танилцуулга
    • Үндсэн
      • Token
      • Баримт устгах
    • Ерөнхий журнал
      • Гүйлгээ татах
    • Бараа материал
      • Нярвын зарлага татах
      • Дотоод хөдөлгөөн татах
    • Худалдан авалт
      • Худалдан авалт татах
    • Борлуулалт
      • Борлуулалт татах
    • Үйлдвэрлэл
      • ДҮ-ийн орлого /материал зарцуулалт/ татах
    • Цалин
      • Цагийн мэдээ илгээх
  • Smart HCM API
    • Танилцуулга
    • Token
    • Ажилтны мэдээлэл татах
  1. Үлдэгдэл татах

Барааны жагсаалт

GET
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
object {0}

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 'https://retailapiv2.smartlogic.mn/api/inventory/products'

Responses

🟢200Success
application/json
Body
Жагсаалт
array of:
id
string 
required
Барааны код
name
string 
required
Барааны нэр
barcode
string 
required
Баркод
baseprice
integer 
required
Үндсэн үнэ
price
integer 
required
Худалдах үнэ
stock_locations
array [object {4}] 
required
Үлдэгдэл байршлаар
location_id
string 
required
Байршлын код
count_on_hand
integer 
required
Үлдэгдэл тоо
baseprice
integer 
required
Үндсэн үнэ
price
integer 
required
Худалдах үнэ
stock_pricechannels
array [object {3}] 
required
Үнийн жагсаалт
pricechannel_id
string 
required
Үнийн жагсаалтын код
baseprice
integer 
required
Үндсэн үнэ
price
integer 
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
Хүйс нэр
item_discounts
array [object {8}] 
required
Барааны хөнгөлөлтийн жагсаалт
warehouse_id
null 
optional
Агуулахын код
begin_date
string 
optional
Эхлэх огноо
end_date
string 
optional
Дуусах огноо
percent
integer 
optional
Хувь
amount
integer 
optional
Өртөг
begin_time
null 
optional
Эхлэх хугацаа
end_time
null 
optional
Дуусах хугацаа
day_of_week
null 
optional
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
[
  {
    "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-03-13 05:57:11
Previous
Бараа хайх
Next
Бараа материалын байршил жагсаалт
Built with