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.
OAuth Scopes
categories.read categories.read_write
Request Body
{"name"=>"Dress", "parent_id"=>213320125, "sort_order"=>5}
HEADERS
| Key | Datatype | Required | Description |
|---|---|---|---|
Content-Type | string |
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":[],"sub_categories":[]}}