OVIRO LogoOVIRO
Quản lý sản phẩm (PIM)Danh mục sản phẩm

Product Category Object

Cấu trúc đối tượng danh mục sản phẩm

Schema

{
  "company_id": 1,
  "creator_id": 1,
  "id": 10,
  "uuid": "uuid-string",
  "name": "Điện thoại",
  "name_short": "Điện thoại",
  "description": "Mô tả danh mục...",
  "display_order": 1,
  "parent_id": 0,
  "external_id": "EXT123",
  "prepayment_percentage": 0,
  "tax_ratio": 10,
  "attribute_category_id": 0,
  "avatar_file_id_list": [101, 102],
  "avatar_file_list": [
    {
      "id": 101,
      "url": "https://example.com/image.jpg"
      //... File Object
    }
  ],
  "keyword_important_score": 0,
  "status": 1,
  "seo_url": "dien-thoai",
  "seo_title": "Điện thoại chính hãng",
  "seo_meta_description": "Mua điện thoại giá rẻ...",
  "seo_meta_keyword": "dien thoai, smartphone",
  "seo_graph_file_id": 0,
  "seo_graph_file": null,
  "seo_canonical": "",
  "seo_options": [],
  "date_created": 1600000000,
  "date_modified": 1600000000,
  "date_lastsynced": 0
}

Field Descriptions

Tên trườngKiểu dữ liệuMô tả
idintegerID danh mục
namestringTên danh mục
name_shortstringTên viết tắt
descriptionstringMô tả chi tiết
parent_idintegerID danh mục cha (0 nếu là danh mục gốc)
display_orderfloatThứ tự hiển thị
statusintegerTrạng thái (1: Enable, 3: Disable, 5: Deleted)
seo_urlstringĐường dẫn SEO (Slug)
avatar_file_listarrayDanh sách hình ảnh đại diện
date_createdintegerThời gian tạo (Unix timestamp)
date_modifiedintegerThời gian cập nhật (Unix timestamp)

On this page