List category
DevelopingGET
/api/v1/public/products/category/listLast modified: 4 months ago
Request
Query Params
page
string
optional
Example:
1
page_size
string
optional
max 100
Example:
5
Request samples
Responses
OK(200)
HTTP Code: 200
Content Type : JSONapplication/json
Data Schema
status_code
integer
required
data
array [object {4}]
required
id
integer
required
name
string
required
list_id
array [object {3}]
required
child
array [object {5}]
required
error
boolean
required
error_code
null
required
log_id
null
required
messages
string
required
total
integer
required
Example
{
"status_code": 0,
"data": [
{
"id": 0,
"name": "string",
"list_id": [
{
"id": 0,
"name": "string",
"parent_id": null
}
],
"child": [
{
"id": 0,
"name": "string",
"parent_id": 0,
"list_id": [
{
"id": 0,
"name": "string",
"parent_id": 0
}
],
"child": [
{
"id": 0,
"name": "string",
"parent_id": 0,
"list_id": [
{
"id": 0,
"name": "string",
"parent_id": 0
}
],
"child": [
{
"id": 0,
"name": "string",
"parent_id": 0,
"list_id": [
{
"id": 0,
"name": "string",
"parent_id": 0
}
],
"child": [
"string"
]
}
]
}
]
}
]
}
],
"error": true,
"error_code": null,
"log_id": null,
"messages": "string",
"total": 0
}
Last modified: 4 months ago