Update Collection
Collections
Update Collection
Update an existing collection
PUT
Update Collection
Documentation Index
Fetch the complete documentation index at: https://docs.launchmystore.io/llms.txt
Use this file to discover all available pages before exploring further.
Update Collection
Updates an existing collection. Only provided fields will be updated.Request
Path Parameters
The unique collection ID to update
Body Parameters
All parameters are optional. Only provided fields will be updated.The collection title
Collection description (supports HTML)
URL-safe handle
Whether the collection is published
Product sort order:
manual, best-selling, alpha-asc, alpha-desc, price-asc, price-desc, created-asc, created-descCustom template suffix for theming
Collection featured image. Set to
null to remove.Automated collection rules. Replacing rules converts between manual and smart collections.
Rule matching logic (OR vs AND)
SEO metadata
Managing Products
To add or remove products from a manual collection, use the dedicated endpoints:POST /api/v1/collections/:id/products.json- Add productsDELETE /api/v1/collections/:id/products.json- Remove products
Response
Whether the request succeeded
The updated collection object
Example Response
Error Codes
| Code | Description |
|---|---|
UNAUTHORIZED | Invalid or missing access token |
FORBIDDEN | App doesn’t have write_products scope |
NOT_FOUND | Collection with the specified ID does not exist |
VALIDATION_ERROR | Invalid request body (see error details) |
DUPLICATE_HANDLE | A collection with this handle already exists |