# Read existing draft (404 = no draft)
fd "$BASE/setup_processes/$EID" | jq
# Create draft (illustrative — see the campaigns-lifecycle guide for the
# full payload structure; creatives/targeting/integration_details are arrays)
fd -X POST "$BASE/setup_processes/$EID" \
-H "Content-Type: application/json" \
-d '{
"goal": "UTILIZATION",
"total_budget": 5000,
"start_date": "2026-05-25",
"end_date": "2026-06-12",
"tc_run_id": 42,
"creatives": [],
"targeting": [],
"integration_details": []
}' | jq
# Publish
fd -X POST "$BASE/setup_processes/$EID/boost" | jq
# Edit one published cluster
fd -X POST "$BASE/campaigns_setup" \
-H "Content-Type: application/json" \
-d "{
\"eid\": \"$EID\",
\"tc\": \"family_outings_munich\",
\"tc_run_id\": 42,
\"audience_id\":\"aud_777\",
\"creatives\": [],
\"targeting\": []
}" | jq
# Cancel draft
fd -X DELETE "$BASE/setup_processes/$EID" | jq