curl --request PUT \
--url https://api.dooki.com.br/v2/{alias}/catalog/collections/{id} \
--header 'Content-Type: application/json' \
--header 'User-Secret-Key: <api-key>' \
--header 'User-Token: <api-key>' \
--data '{
"active": true,
"show_banners": true,
"featured": true,
"name": "Collection Test",
"visible_products": 4,
"home": true,
"slug": "collection-test",
"description": "Test description",
"seo_title": "Page Title for SEO",
"seo_description": "Meta Tag Description",
"seo_keywords": "seo, keywords",
"start_at": "2015-12-12 12:00:00",
"end_at": "2016-12-12 12:00:00",
"stopwatch": "daily",
"url": "https://www.domain.com/collection/l",
"products_ids": [
1,
2,
3,
4
],
"banners_ids": [
1,
2,
3,
4
],
"restrictions": {
"include": {
"brands_ids": [
1,
2,
3,
4
],
"categories_ids": [
143
]
},
"exclude": {
"categories_ids": [
141
]
}
}
}'