Update Category

PUT {{baseUrl}}/categories/:category

This endpoint allows you to update category details by providing the ID of the category you want to update its details in the category path parameter.

Request Body

{"name"=>"Dress", "parent_id"=>213320125, "sort_order"=>5}

HEADERS

KeyDatatypeRequiredDescription
Content-Typestring
Acceptstring

RESPONSES

status: Created

{"status":201,"success":true,"data":{"id":1114613300,"name":"Hayat","urls":{"customer":"https://shtara.com/profile","admin":"https://shtara.com/profiles"},"sort_order":5,"items":[]}}