POST
/
collections
/
actions
/
copy-category

Authorizations

Authorization
string
header
required

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
categoryId
string
required

24-character system-generated category ID

parentCollectionId
string
required

24-character system-generated parent category ID

Response

200 - application/json

Category details

categoryAttributes
object[]

Attributes assigned to the specified category

children
object[]

Immediate children of the specified category

createdAt
string

Time of category creation

id
string

24-character system-generated category ID

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

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

localizedProperties
object

Localized properties of category

name
string

Non-localized category name

productAttributes
object[]

Attributes assigned for all products in the specified category.

productIds
string[]
updatedAt
string

Time of last update to category

updatedBy
string

Email of user who last update the category