Update Product Collection
PUT /v2/product/collection/:id
Endpoint for updating an existing product collection by ID. This operation allows modifying the collection name or associated product groups. Collection names must remain unique within the tenant.
Request Body
{
"name": "Updated Collection Name"
}
Response Example
{
"name": "Updated Collection Name",
"tenant": "6065a9eb6783e09eb34bb844",
"productGroupIds": [
"7e6c1fca-e735-4574-8b09-1ed83b8c0be1",
"a569154b-1d2f-4008-ac72-f2fc744715a7"
],
"created": "2025-07-03T10:00:00.000Z",
"updated": "2025-07-03T10:30:00.000Z",
"productGroups": [
{
"id": "7e6c1fca-e735-4574-8b09-1ed83b8c0be1",
"group_id": "7e6c1fca-e735-4574-8b09-1ed83b8c0be1",
"tenant": "6065a9eb6783e09eb34bb844",
"name": "100-Pack Zip Ties Red"
}
],
"id": "6835c3c22d22c57cf7674a01"
}