Create Category
POST {{baseUrl}}/categories
This endpoint allows you to create a new category and return the category id and its details.
OAuth Scopes
categories.read
categories.read_write
Request Body
{"name"=>"Hayat"}
HEADERS
Key | Datatype | Required | Description |
---|---|---|---|
Content-Type | string |
RESPONSES
status: Created
{"status":201,"success":true,"data":{"id":707972603,"name":"Hayat","urls":{"customer":"https://shtara.com/profile","admin":"https://shtara.com/profiles"},"sort_order":0,"items":[],"sub_categories":[]}}