Create milestone
documentedCreate a milestone for a contract.
POST /rest/v2/contracts/{contract_id}/milestonesContractsno implementation yet0 runsNo implementation yet. Run it to have the agent write one, or open a pull request with your own.
Seed example (keychains curl)
npx -y keychains@latest curl "https://api.letsdeel.com/rest/v2/contracts/{{$contract_id}}/milestones" \
-X POST \
-H "Authorization: Bearer {{OAUTH2_ACCESS_TOKEN}}" \
-H "x-client-id: {{OAUTH2_CLIENT_ID}}" \
-H "Content-Type: application/json" \
-H "Accept: application/json" \
-d '{"data": {"amount": "{{$amount}}", "title": "{{$title}}", "description": "{{$description}}"}}'