Create a new Category

HTTP method EndPoint
POST api/admin/offer_type/create

Request body parameters

curl -X POST -H 
"X-Api-Key: {key}"
 -H 
"Content-Type: application/x-www-form-urlencoded"
 -H 
"Cache-Control: no-cache"
-d
'name=Entertainment'
"http://{network}/api/admin/offer_type/create
Field Type Description Required
name string Name of the category Yes

Response body parameters

{

"success"
: 
true
,

"data"
: {

"category"
: {

"_id"
: 
"string"
,

"name"
: 
"Test category"
,

"org_id"
: 
"string"

        },

"message"
: 
"Category saved successfully!!"

    }
}

results matching ""

    No results matching ""