POST
/
collections
/
actions
/
copy-category

Authorizations

Authorization
string
headerrequired

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

Headers

x-fabric-tenant-id
string

A header used by fabric to identify the tenant making the request. You must include tenant id in the authentication header for an API request to access any of fabric’s endpoints. You can retrieve the tenant id , which is also called account id, from Copilot. This header is required.

x-fabric-request-id
string

Unique request ID

Body

application/json
parentCollectionId
string
required

24-character system-generated parent category ID

categoryId
string
required

24-character system-generated category ID

Response

200 - application/json

Category details

id
string

24-character system-generated category ID

name
string

Non-localized category name

localizedProperties
object

Localized properties of category

isLocalizable
boolean

true: Category name is translated into different languages or localized for different regions <br /> false: Category name isn't localized Note: Refer to localizedProperties to get relevant details based on locale

isRoot
boolean

true: This is a root category <br /> false: This isn't a root category

isLeaf
boolean

true: This is the last category of the branch with no further children categories <br /> false: This isn't the last category of the branch and has children categories

categoryAttributes
object[]

Attributes assigned to the specified category

productAttributes
object[]

Attributes assigned for all products in the specified category.

productIds
string[]
children
object[]

Immediate children of the specified category

updatedBy
string

Email of user who last update the category

updatedAt
string

Time of last update to category

createdAt
string

Time of category creation