updateCategory #
updateCategory(id: String, params: UpdateCategoryParams) Category
Example #
mutation updateCategory($id: String!, $params: UpdateCategoryParams!){
updateCategory(id: $id, params: $params) {
id
name
slug
isPublished
description
image
fullImage
createdAt
updatedAt
productCount
position
}
}