Type
|
Info
|
List
|
Categories or Subcategorie
|
URL
|
http://{domain}/api/v2/categories/info_page.json
|
Accepts Filters
|
No
|
Output Attribute
|
No
|
List Categories Page Data
Gets Categories or Subcategories Page info.
Filters
Filter the Categories or Subcategories into a list.
Parameter
|
Type
|
Rules
|
Example
|
id
|
int / array
|
one id or multiple Lead Commerce category or subcategory ids
|
1 or array(1,2)
|
Response
Example JSON returned
{
"code": "200",
"data": {
"1": [
{
"id": "1",
"name": "Products",
"display_name": "Products",
"slug": "page_products",
"url": "products/"
}
],
"9": [
{
"id": "9",
"name": "Sale Items",
"display_name": "Sale Items",
"slug": "page_sale_items",
"url": "sale-items/"
}
]
}
}