Categories
Get Categories
Retrieves the categories.
Authorization
AuthorizationRequiredBearer <token>You can retrieve your API key by visiting your dashboard and clicking Account > API.
In: header
Request Body
application/jsonOptionalpageintegerperPageintegerMust be at least 1. Must not be greater than 100.
orderColumnstring"id" | "parent_id" | "name" | "created_at" | "updated_at"orderDirectionstring"asc" | "desc"namestringMust not be greater than 255 characters.
parent_idstringPath Parameters
shopIdRequiredintegerThe shop ID.
Create Category
Creates a new category.
Authorization
AuthorizationRequiredBearer <token>You can retrieve your API key by visiting your dashboard and clicking Account > API.
In: header
Request Body
application/jsonRequirednameRequiredstringMust not be greater than 255 characters.
parent_idstringpathstringMust match the regex /^[a-z0-9-]+$/.
descriptionstringMust not be greater than 1000 characters.
image_idstringmeta_titlestringMust not be greater than 255 characters.
meta_descriptionstringMust not be greater than 255 characters.
colorstringMust not be greater than 7 characters.
orderintegerPath Parameters
shopIdRequiredintegerThe shop ID.
Get Category
Retrieves a specific category.
Authorization
AuthorizationRequiredBearer <token>You can retrieve your API key by visiting your dashboard and clicking Account > API.
In: header
Path Parameters
shopIdRequiredintegerThe shop ID.
categoryIdRequiredintegerThe category ID.
Delete Category
Deletes a specific category.
Authorization
AuthorizationRequiredBearer <token>You can retrieve your API key by visiting your dashboard and clicking Account > API.
In: header
Path Parameters
shopIdRequiredintegerThe shop ID.
categoryIdRequiredintegerThe category ID.
Update Category
Updates a specific category.
Authorization
AuthorizationRequiredBearer <token>You can retrieve your API key by visiting your dashboard and clicking Account > API.
In: header
Request Body
application/jsonRequiredidRequiredintegernameRequiredstringMust not be greater than 255 characters.
parent_idstringpathstringMust match the regex /^[a-z0-9-]+$/.
descriptionstringMust not be greater than 1000 characters.
image_idstringmeta_titlestringMust not be greater than 255 characters.
meta_descriptionstringMust not be greater than 255 characters.
colorstringMust not be greater than 7 characters.
orderintegerPath Parameters
shopIdRequiredintegerThe shop ID.
categoryIdRequiredintegerThe category ID.
Reorder Categories
Reorders categories and updates their parent relationships.
Authorization
AuthorizationRequiredBearer <token>You can retrieve your API key by visiting your dashboard and clicking Account > API.
In: header
Request Body
application/jsonRequiredcategoriesRequiredarray<integer>Must have at least 1 items.
Path Parameters
shopIdRequiredintegerThe shop ID.