|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, Pagination

GET{{schema}}{{hostname}}/api/category/list/parent/0/numperpage/2/start/0

This endpoint is used to get all categories information by selected categories parent id and defined pagination in category api. -Where 2 is the number per page to be retrieved. -Where 0 is the starting item.
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"}],"total":5}