Get Item Category List
Deskripsi
Membuat API service bagi user open API untuk mengambil category-category produk di Marketplace PaDi UMKM
| Method | URL |
|---|---|
| GET | api/v1/bumn/categories |
Request
| Type | Params | Values | Description |
|---|---|---|---|
| URI PARAM | type |
| |
| URI PARAM | name |
| |
| URI PARAM | page | integer optional | Current page |
| URI PARAM | limit | integer optional | Number of rows per page. |
Response
Success
| Status | Payload |
|---|---|
| 200 | |
| Params | Description |
|---|---|
| parent_data | |
| parent_data.type | |
| parent_data.type_name | |
| parent_data.slug | |
| parent_data.name | |
| parent_data.parent_id | |
| parent_data.__v | |
Error
| Status | Payload |
|---|---|
| 404 | |
| Params | Description |
|---|---|
status | |
message | |