Update collection
PUT/openapi/2025-06/collections/:id
Allows users to update details of an existing collection by providing the collection ID and the desired updates in the request body.
Request
Path Parameters
Collection ID. Must be a valid UUID
- application/json
- Body
- Example
Bodyrequired
collection objectrequired
Collection
The name of the collection
A unique URL-friendly identifier for the collection
The description of the collection
image object
Image
The source URL of the collection image
The width of the collection image in pixels
The height of the collection image in pixels
Alt text for the collection image
The SEO title for the collection
The keywords for SEO
The SEO description for the collection
Merchandise sorting rules. Options include: manual (default), sales-desc, price-asc, price-desc, views-desc, vendor-asc, vendor-desc, created-desc, intelligent and more
manualList of product IDs to include in the collection. Must be valid UUIDs
{
"collection": {
"title": "string",
"handle": "string",
"description": "string",
"image": {
"src": "string",
"width": 0,
"height": 0,
"alt": "string"
},
"seo_title": "string",
"seo_keywords": [
"string"
],
"seo_description": "string",
"sort_order": "manual",
"product_ids": [
"string"
]
}
}
Responses
- 200
OK
- application/json
- Schema
- Example
Schema
error code
error message
data object
collection object
Collection
Collection ID
Title
Description
URL-friendly identifier (handle)
Smart
image object
Image
Image source URL
Width dimension
Height dimension
Alt text for image
SEO title
SEO keywords
SEO description
Sort order
Creation timestamp, in ISO-8601 format
Last update timestamp, in ISO-8601 format
{
"code": "string",
"message": "string",
"data": {
"collection": {
"id": "string",
"title": "string",
"description": "string",
"handle": "string",
"smart": true,
"image": {
"src": "string",
"width": 0,
"height": 0,
"alt": "string"
},
"seo_title": "string",
"seo_keywords": [
"string"
],
"seo_description": "string",
"sort_order": "string",
"created_at": "string",
"updated_at": "string"
}
}
}