PUT
/
collections
/
{id}

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

Path Parameters

id
string
required

System-generated 24-character collection ID

Body

application/json

Details to update collection

attributes
object[]

List of attributes assigned to the collection

categoryIdsExcluded
string[]
deprecated

Category IDs excluded in collection

categoryIdsIncluded
string[]

Category IDs included in collection

isActive
boolean

true: Collection is active <br /> false: Collection is inactive

isLocalizable
boolean

true: Collection name can be translated into different languages or localized for different regions. <br /> false: Collection name can't be localized. Note: Refer to localizedProperties to get relevant collection name based on locale.

localizedProperties
object

Localized properties of collection

name
string

Non-localized collection name

productAttributeFilters
object[]

Response

200 - application/json

Collection details

attributes
object[]

Collection attributes

categoriesExcluded
object[]

List of categories excluded

categoriesIncluded
object[]

List of categories included

children
object[]

Immediate children of the specified collection

createdAt
string

Time of category creation (UTC)

id
string

24-character system-generated collection ID

isActive
boolean

true: Collection is active <br /> false: Collection is inactive

isLocalizable
boolean

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

isRoot
boolean

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

localizedProperties
object

Localized details

name
string

Non-localized collection name

productAttributeFilters
object[]

Attribute filters applied to the category

updatedAt
string

Time of last updated to category (UTC)

updatedBy
string

Email of user who last updated the category