Update Product Collection
PUT/products/collections/:collectionId
Update a specific product collection with Id :collectionId
Request
Version stringrequired
API Version
Available options
v3collectionId stringrequired
MongoId of the collection
- application/json
- Body
- Example (auto)
Bodyrequired
altIdstringrequired
Location Id
altTypestringrequired
The type of alt. For now it is only LOCATION
Available options
locationnamestring
Name of the Product Collection
slugstring
Slug of the Product Collection which helps in navigation
imagestring
The URL of the image that is going to be displayed as the collection Thumbnail
seoobject
The metadata information which will be displayed in SEO previews
{
"altId": "6578278e879ad2646715ba9c",
"altType": "LOCATION",
"name": "Best Sellers",
"slug": "best-sellers",
"image": "http://example.com/watermark.png",
"seo": {
"title": "Best Sellers",
"description": "Collections where all the best products are available"
}
}
Successful response
- application/json
- Schema
- Example (auto)
Schema
statusbooleanrequired
Status of api action
messagestring
Success message
{
"status": true,
"message": "Successfully created"
}