Skip to main content

Edit a Category

PATCH 

/v1/categories/:id

Edit a Category

Request​

Path Parameters

    id stringrequired

    Id of the Category

Body

required

    name string
    Example: New Category name

Responses​

Successfully edited a Category

Schema

    data

    object

    id string
    Example: category_xxxxxxxxxxxxxxxxxxxxxxxxxxxxx
    name string
    Example: Environmental
    imageUrl stringnullable
    Example: categories/3.png
    createdAt date-time
    Example: 2020-10-13T17:46:54.000Z
    object string
    Example: Category
Loading...