For more information on using API

PUT https://webapi.mymarketing.co.il/api/account/contentCategories/{id}

Update a specific category details by providing its' ID.

Request Information

URI Parameters

Name

Description

Type

Additional information

id

Category id. Can be found using the endpoint "Get the account's list of email templates categories."

integer

Required

Body Parameters

ApiContentCategoryUpdate

Name

Description

Type

Additional information

name

Category name

string
display_order

Display Order

integer
is_default

If the Category is Default

boolean

Request Formats

application/json, text/json

Sample:
{
  "name": "sample string 1",
  "display_order": 2,
  "is_default": true
}

application/xml, text/xml

Sample:
<ApiContentCategoryUpdate xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/ActiveTrail.RESTfulApi.Models">
  <display_order>2</display_order>
  <is_default>true</is_default>
  <name>sample string 1</name>
</ApiContentCategoryUpdate>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

None.