---
schema_version: "1"
id: 3afc6cf67eaf69d121bb742ffb7eb28e4efc489947650a49fdb14af755aaba41
title: TMFTMForumPatchCategory
collection: developer
version: current
locale: en-us
portal_url: https://docs.salesforce.com/developer/current/en-us/industries-integrations/comms/guides/TMF620/IP/TMFTMForumPatchCategory.md
canonical_url: https://developer.salesforce.com/docs/industries/communications/guide/TMFTMForumPatchCategory.html
source_site: developer.salesforce.com
content_type: documentation
content_hash: c67b552c92c543032dc5d922bdadc63943a2a6927cf9eceac2d205f11f20ce14
products:
  - Communications Cloud TM Forum API
  - Industries Integrations
---
# TMFTMForumPatchCategory

This IP is used to invoke the TM Forum API to update a category.

## Input JSON

```@json
{
    "patch_id": "432b3763-2233-65cd-8ba3-a67a035aab74",
    "name": "Postpaid Addon updated",
    "description": "A category to hold all available cloud service offers updated",
    "subCategory": [
        {
            "name": "Cloud Services retest4",
            "id": "f5a2cf7f-8405-baeb-2a83-f371aa89a303"
        },
        {
            "name": "GS0 Category2-5",
            "id": "57f0ad75-63ab-3c7a-f738-8fa719c9858e"
        }
    ],
    "productOffering": [
        {
            "id": "edeafc77-336c-f915-bf13-78d65284de5c",
            "name": "50 GB Data Postpaid Addon"
        },
        {
            "name": "Postpaid Add On1",
            "id": "693bb8d1-1c23-8aa8-13f2-561466651a38"
        }
    ]
}
```

## Output JSON

```@json
{
    "productOffering": [
        {
            "id": "edeafc77-336c-f915-bf13-78d65284de5c",
            "name": "50 GB Data Postpaid Addon"
        },
        {
            "name": "Postpaid Add On1",
            "id": "693bb8d1-1c23-8aa8-13f2-561466651a38"
        }
    ],
    "subCategory": [
        {
            "name": "Cloud Services retest4",
            "id": "f5a2cf7f-8405-baeb-2a83-f371aa89a303"
        },
        {
            "name": "GS0 Category2-5",
            "id": "57f0ad75-63ab-3c7a-f738-8fa719c9858e"
        }
    ],
    "@type": "Category",
    "href": "/services/apexrest/vlocity_cmt/tmforum/productopenapi/v1/category/a0e5e000003boMeAAI",
    "validFor": {
        "startDateTime": "2020-08-24T00:00:00.000+0000",
        "endDateTime": "2024-03-25T00:00:00.000+0000"
    },
    "lifecycleStatus": "Active",
    "lastUpdate": "2023-01-19T07:47:10.000+0000",
    "isRoot": true,
    "name": "Postpaid Addon updated",
    "description": "A category to hold all available cloud service offers updated",
    "id": "432b3763-2233-65cd-8ba3-a67a035aab74"
}
```

## Usage

This IP calls the [TMFOpenAPICategoryService.invokeMethod](https://developer.salesforce.com/docs/industries/communications/apex/TMFOpenAPICategoryService.md) Apex method and the following Data Raptors:

- [TMFTMForumPatchCategoryInputTransform](https://developer.salesforce.com/docs/industries/communications/DR/TMFTMForumPatchCategoryInputTransform.md)
- [TMFTMForumCategoryResponseTransform](https://developer.salesforce.com/docs/industries/communications/DR/TMFTMForumCategoryResponseTransform.md)
