OVIRO LogoOVIRO
Quản lý nhóm sản phẩmThuộc tính sản phẩm

Danh sách tùy chọn

Lấy danh sách các loại tùy chọn biến thể sản phẩm

Endpoint

GET /v1/productoptions

Query Parameters

TênKiểuBắt buộcMô tả
pageintKhôngSố trang (Mặc định: 1)
limitintKhôngSố lượng bản ghi mỗi trang (Mặc định: 20)
idintKhôngLọc theo ID
keywordstringKhôngTừ khóa tìm kiếm (Tên, Slug)
sort_bystringKhôngSắp xếp theo: id, name, display_order, date_created. Mặc định: id
sort_typestringKhôngKiểu sắp xếp: ASC, DESC. Mặc định: DESC

Response Schema

HTTP 200 - JSON Object

TrườngKiểuMô tả
totalintTổng số bản ghi
currentpageintTrang hiện tại
limitintSố bản ghi mỗi trang
itemsarrayMảng ProductOption Object

Mỗi item trong mảng items là một ProductOption Object, bao gồm thêm count_value, last_values, và all_option_values (enriched từ controller).

On this page