OVIRO LogoOVIRO
WMS - InventoryCửa hàng

Store Object Schema

Chi tiết các trường dữ liệu của một object `Store`

JSON Schema

Trường (Field)Kiểu (Type)Mô tả (Description)
idintID cửa hàng
creator_idintID người tạo cửa hàng
company_idintID công ty
namestringTên cửa hàng
codestringMã cửa hàng
phonestringSố điện thoại cửa hàng
addressstringĐịa chỉ cửa hàng
latfloatVĩ độ (Latitude)
longfloatKinh độ (Longitude)
region_idintID Tỉnh/Thành phố
sub_region_idintID Quận/Huyện
warehouse_idsarrayDanh sách ID kho hàng liên kết
embed_mapstringMã nhúng bản đồ hoặc URL
open_timestringGiờ mở cửa
close_timestringGiờ đóng cửa
price_policy_idintID chính sách giá
statusintTrạng thái: 1 (Kích hoạt), 3 (Vô hiệu hóa)
date_createdintThời gian tạo (UNIX timestamp)
date_modifiedintThời gian sửa (UNIX timestamp)

Ví dụ JSON object

{
  "id": 1,
  "creator_id": 10,
  "company_id": 1,
  "name": "Cửa hàng Quận 1",
  "code": "ST001",
  "phone": "0901234567",
  "address": "123 Đường Nguyễn Huệ, Quận 1, TP.HCM",
  "lat": 10.776,
  "long": 106.700,
  "region_id": 79,
  "sub_region_id": 760,
  "warehouse_ids": [1, 2],
  "embed_map": "",
  "open_time": "08:00",
  "close_time": "22:00",
  "price_policy_id": 5,
  "status": 1,
  "date_created": 1609459200,
  "date_modified": 1609459200
}

On this page