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

Authorizations

Authorization
string
header
required

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.

order
number

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

parentNodeId
number

Numeric ID of parent category, for external users

Response

200 - application/json
attributes
object[]
breadcrumbs
object[]

Path of categories leading to root of category

children
object[]
createdOn
string

Time of category creation (UTC format)

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.

modifiedOn
string

Time when category was last updated (UTC format)

name
string

Category name

nodeId
number

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