With this endpoint, you can update details of a single collection, such as add or remove sub-collections, 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}.
S2S access token (JWT) from fabric Identity service (during Login)
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.
"517fa9dfd42d8b00g1o3k312"
Unique request ID
"263e731c-45c8-11ed-b878-0242ac120002"
System-generated 24-character collection ID
Details to update collection
Details to update collection
Non-localized collection name
"Color"
true: Collection name can be translated into different languages or localized for different regions.
false: Collection name can't be localized. Note: Refer to localizedProperties to get relevant collection name based on locale.
true
Localized properties of collection
{
"en-US": { "name": "Color" },
"en-IN": { "name": "Colour" }
}List of attributes assigned to the collection
Category IDs included in collection
[
"64184766610c0e32a86d8758",
"917329dfd5288b0011332300"
]Category IDs excluded in collection
[
"66184766610c0e32a86d8722",
"41184766610c0e32a86d8778"
]true: Collection is active
false: Collection is inactive
true
OK
Collection details
24-character system-generated collection ID
"55184766610c0e32a86d8759"
Non-localized collection name
"Color"
Localized details
{
"en-US": { "name": "Color" },
"en-IN": { "name": "Colour" }
}true: Collection name is translated into different languages or localized for different regions
false: Collection name isn't localized Note: Refer to localizedProperties to get relevant details based on locale
true
true: Collection is root category.
false: Collection isn't a root category.
true
true: Collection is active
false: Collection is inactive
false
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)
"2023-04-20T10:24:36.162Z"
Time of category creation (UTC)
"2021-04-20T10:24:36.162Z"