|Support Center

Ezpizee API documentations and guides

Learn the basics and more, from API authentication to error handling, customizable cart integration and available how-to guides.

User

Get All Categories With Parent

GET{{schema}}{{hostname}}/api/category/list/parent/0

This endpoint is used to get all categories information components by categories parent ids as given api.
NameDescription
Header
Content-Typeapplication/json
Authorization{{token}} {base64_encode of client_id:client_secret}
Response
{"status":"OK","code":200,"message":"SUCCESS","data":[{"id":"3","parent_id":"1","level":1,"ordering_position":"first","ordering_item":"0","path":"watt","name":"Watt","alias":"watt","description":"This is Watt","channel":["web","pos"],"asset":"1","params":{"parent":{"id":"1","parent_id":"0","ordering_position":"root","ordering_item":"0","path":"","name":"ROOT","alias":"root","description":"system","channel":"","asset":"","params":"","published":"1","created_on":"0","created_by":"0","modified_on":"0","modified_by":"0","is_protected":"1"}},"published":"1","created_on":"1594615710","created_by":"1","modified_on":"1594615710","modified_by":"1","is_protected":"0"},{"id":"2","parent_id":"1","level":1,"ordering_position":"first","ordering_item":"0","path":"weber","name":"Weber","alias":"weber","description":"This is Weber","channel":["web","pos"],"asset":"1","params":{"parent":{"id":"'1'","parent_id":"'0'","lft":"'1'","rgt":"'2'","level":"'1'","ordering_position":"'root'","ordering_item":"'0'","path":"''","path_md5":"'e6fda0f0d3e0adfff69e334462d1ef6a'","name":"'ROOT'","alias":"'root'","description":"'system'","channel":"''","asset":"''","params":"''","published":"'1'","created_on":"'0'","created_by":"'0'","modified_on":"'0'","modified_by":"'0'","is_protected":"'1'"}},"published":"1","created_on":"1594615701","created_by":"1","modified_on":"1594615701","modified_by":"1","is_protected":"0"},{"id":"4","parent_id":"1","level":1,"ordering_position":"last","ordering_item":"0","path":"volt","name":"Volt","alias":"volt","description":"This is Volt description","channel":["web","pos"],"asset":"1","params":{"parent":{"id":"1","parent_id":"0","ordering_position":"root","ordering_item":"0","path":"","name":"ROOT","alias":"root","description":"system","channel":"","asset":"","params":"","published":"1","created_on":"0","created_by":"0","modified_on":"0","modified_by":"0","is_protected":"1"}},"published":"1","created_on":"1594615779","created_by":"1","modified_on":"1594615779","modified_by":"1","is_protected":"0"},{"id":"5","parent_id":"1","level":1,"ordering_position":"last","ordering_item":"0","path":"tesla","name":"Tesla","alias":"tesla","description":"This is Tesla description","channel":["web","pos"],"asset":"1","params":{"parent":{"id":"1","parent_id":"0","ordering_position":"root","ordering_item":"0","path":"","name":"ROOT","alias":"root","description":"system","channel":"","asset":"","params":"","published":"1","created_on":"0","created_by":"0","modified_on":"0","modified_by":"0","is_protected":"1"}},"published":"1","created_on":"1594615797","created_by":"1","modified_on":"1594615797","modified_by":"1","is_protected":"0"}],"total":4}