Skip to main content

List Product Type

Available Filter

Value TypeExample
stringProduk
date2010-02-02T20:23:05+07:00
Operator TypeDescription
gteGreater Than or Equal
gtGreater Than
lteLower Than or Equal
ltLower Than
eqEqual
Field TypeValue Type
namestring
product_category.namestring
created_ondate
updated_ondate

Example Filter

FieldOperatorValue
nameeqproducttype
product_category.nameeqproductcategory
created_onlt2023-02-02T20:13:05+07:00
updated_ongt2022-02-02T20:23:05+07:00

Available Sort

Operator TypeDescription
ascSmallest to Largest
descLargest to Smallest
FieldDescriptionExample
nameProduct Type Namename asc
product_category.nameProduct Category Nameproduct_category.name desc
created_onProduct Type Created Atcreated_on desc
updated_onProduct Type Updated Atupdated_on desc
FieldExample
nameAqua Gelas
product_category.nameMinuman Air Gelas
Query Parameters
    filters string[]
    limit integer
    page integer
    search string
    sorts string[]
Responses

OK


Schema
    metadata object
    count integer
    page integer
    total_count integer
    total_page integer
    data object
    paginated_result object[]
  • Array [
  • id string
    name string
    product_category object
    id string
    name string
  • ]
  • ids string[]
Loading...