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_write

Request Body

{"name"=>"Hayat"}

HEADERS

KeyDatatypeRequiredDescription
Content-Typestring
Acceptstring

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":[]}}