Method
POST /v1/collections
Body Parameters
Base properties
Localized fields (optional)
Headers
Bearer token (e.g.
Authorization: Bearer YOUR_API_KEY)application/json
curl -X POST https://api.voyantcloud.com/v1/collections \
-H "Authorization: Bearer YOUR_API_KEY" \
-H "content-type: application/json" \
-d '{
"base": {
"key": "summer",
"name": "Summer Picks",
"type": "smart",
"status": "active",
"sort_strategy": "manual",
"definition": { "include": [{ "tag": "summer" }] }
},
"translation": { "locale": "en", "name": "Summer Picks", "slug": "summer" }
}'
{
"id": "col_123",
"key": "summer",
"status": "active"
}
Create a new product collection.
POST /v1/collections
Hide properties
manual | smartactive | draft | archived (default active)manual | newest | price_asc | price_desc | random | custom (alias: sort_strategy)rules)Authorization: Bearer YOUR_API_KEY)curl -X POST https://api.voyantcloud.com/v1/collections \
-H "Authorization: Bearer YOUR_API_KEY" \
-H "content-type: application/json" \
-d '{
"base": {
"key": "summer",
"name": "Summer Picks",
"type": "smart",
"status": "active",
"sort_strategy": "manual",
"definition": { "include": [{ "tag": "summer" }] }
},
"translation": { "locale": "en", "name": "Summer Picks", "slug": "summer" }
}'
{
"id": "col_123",
"key": "summer",
"status": "active"
}