Category
Module endpoints
DELETE /categories/:id
DELETE /categories/:id
DELETE
http://api.slyk.io/categories/:id
Deletes the category
with given id
.
204
No Content
GET /categories
GET /categories
GET
https://api.slyk.io/categories
Returns a paginated list of categories
.
Name | Type | Example |
availableProducts |
|
|
description |
|
|
id |
|
|
order |
|
|
title |
|
|
visibleProducts |
|
|
GET /categories/:id
GET /categories/:id
GET
https://api.slyk.io/categories/:id
Gets the category details of the given id
.
PATCH /categories/:id
PATCH /categories/:id
PATCH
https://api.slyk.io/categories/:id
Patches the category
details of the given id
.
Field | Type | Required | Description |
customData |
|
| Can store any additional information about the category. |
description |
|
| Category description. |
image |
|
| Category image. |
order |
|
| Category order value. |
title |
|
| Category title. |
POST /categories
POST /categories
POST
https://api.slyk.io/categories
Creates a new category
.
Field | Type | Required | Description |
customData |
|
| Can store any additional information about the category. |
description |
|
| Category description. |
image |
|
| Category image. |
order |
|
| Category order value. |
title |
|
| Category title. |
POST /categories/:id/reorder
POST /categories/:id/reorder
POST
http://api.slyk.io/categories/:id/reorder
Reorders the category
with the given id
.
Field | Type | Required | Description |
subsequentId |
|
| Subsequent category identifier. |
Last updated