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

    namestring
    Example: New Category name

Responses​

Successfully edited a Category

Schema

    data

    object

    idstring
    Example: category_xxxxxxxxxxxxxxxxxxxxxxxxxxxxx
    namestring
    Example: Environmental
    imageUrlstringnullable
    Example: categories/3.png
    createdAtdate-time
    Example: 2020-10-13T17:46:54.000Z
    objectstring
    Example: Category