POST
/
api-category
/
v1
/
category
/
bulk
/
upsert

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.

Body

application/json · object[]
name
string
required

Category name to upsert

parentNodeName
string
required

Parent Category breadcrumb starting from PRIMARY which is the name of root node

order
number

Order in which category will be displayed in Product Catalog in Copilot.

Response

200 - application/json
success
object[]
failed
object[]