POST /parents/create
Authorizations
Body
parentNamestringRequired
The name of Parent
statusbooleanRequired
The active inactive status of Parent
themeall ofRequired
The new parent theme color details object
grandparentIdstringRequired
The new parent grandparent id
slugobjectRequired
The new Parent slug
Responses
201
Parent created successfully
application/json
post
POST /parents/create HTTP/1.1
Host:
Authorization: Bearer JWT
Content-Type: application/json
Accept: */*
Content-Length: 291
{
"parentName": "text",
"status": true,
"theme": {
"logo": "text",
"leftSidebarBgColor": "text",
"leftSidebarActiveColor": "text",
"leftSidebarHoverColor": "text",
"leftSidebarTextColor": "text",
"topBarTextColor": "text",
"topBarBgColor": "text",
"paymentLinkMenuAlias": "text"
},
"grandparentId": "text",
"slug": {}
}
201
Parent created successfully
{
"parentId": "text",
"parentName": "text",
"status": true,
"theme": {
"logo": "text",
"leftSidebarBgColor": "text",
"leftSidebarActiveColor": "text",
"leftSidebarHoverColor": "text",
"leftSidebarTextColor": "text",
"topBarTextColor": "text",
"topBarBgColor": "text",
"paymentLinkMenuAlias": "text"
},
"authSecret": "text",
"hmacKey": "text"
}
Last updated