Update collection
With this endpoint, you can update details of a single collection, such as add or remove subcollections, add validation rules for attributes, reorder collections, and more. Note:
1. This endpoint replaces the existing details.
2. To avoid impacting the entire data, for minor updates, use the Partially update collection endpoint instead - PATCH /collections/{id}
.
Authorizations
S2S access token (JWT) from fabric Identity service (during Login)
Headers
The x-fabric-tenant-id
header is a string that contains the ID of the tenant from whom you wish to pull information from.
Unique request ID
Path Parameters
System-generated 24-character collection ID
Body
Non-localized collection name
true: Collection name can be translated into different languages or localized for different regions. <br /> false: Collection name cannot be localized. Note: Refer to localizedProperties
to get relevant collection name based on locale.
Localized properties of collection
List of attributes assigned to the collection
Category IDs included in collection
Category IDs excluded in collection
true: Collection is active <br /> false: Collection is inactive
Response
24-character system-generated collection ID
Non-localized collection name
Localized details
true: Collection name is translated into different languages or localized for different regions <br /> false: Collection name is not localized Note: Refer to localizedProperties
to get relevant details based on locale
true: Collection is root category.<br /> false: Collection is not a root category.
true: Collection is active <br /> false: Collection is inactive
Collection attributes
List of categories included
List of categories excluded
Attribute filters applied to the category
Immediate children of the specified collection
Email of user who last updated the category
Time of last updated to category (UTC)
Time of category creation (UTC)
Was this page helpful?