Nhảy tới nội dung

Định nghĩa dữ liệu

Các trường dữ liệu thêm dành cho module khách hàng

HTTP Request

GET /api/v3/account/custom_fields

Response

FieldTypeDescription
field_idintId của trường dữ liệu được định nghĩa
field_htmltypetringLoại dữ liệu (input, textarea, select, checkbox, href)
field_namestringMã của trường định nghĩa, mã này là duy nhất
field_descriptiontringMô tả
optionsarrayCác options trả về trong trường hợp dạng dữ liệu là select
[
{
"field_id": "189",
"field_htmltype": "textarea",
"field_name": "thuoc_tinh_textarea",
"field_description": "Thuộc tính KH (Textarea)",
"options": []
}
]