PUT
/
api-category
/
v1
/
category
/
{nodeId}

Authorizations

Authorization
string
headerrequired

S2S access token (JWT) from fabric Identity service (during Login)

Headers

x-site-context
string
required

The x-site-context header is a JSON object that contains information about the source you wish to pull from. The mandatory account is the 24 character identifier found in Copilot. The channel (Sales channel ID), stage (environment name), and date attributes can be used to further narrow the scope of your data source.

Path Parameters

nodeId
number
required

Numeric category ID

Body

application/json
name
string
required

Category name

active
boolean

true: Category is Active <br /> false: Category is Inactive <br /> Note: Inactive status is not applicable for Primary category.

parentNodeId
number

Numeric ID of parent category, for external users

order
number

Position of this category amongst sibling categories within the same parent category

Response

200 - application/json
id
string

A 24-character system-generated category ID. nodeId and id are the two identifier of a category, and one of them must be specified.

nodeId
number

Numeric category ID. nodeId and id are the two identifier of a category, and one of them must be specified.

name
string

Category name

createdOn
string

Time of category creation (UTC format)

modifiedOn
string

Time when category was last updated (UTC format)

attributes
object[]
children
object[]
breadcrumbs
object[]

Path of categories leading to root of category