Update estimate
documentedUpdate an estimate.
PUT /api/v2/estimates/{id}Estimatesno 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://{{$domain}}.clientary.com/api/v2/estimates/{{$id}}" \
-X PUT \
-u "{{CLIENTARY_API_KEY}}:{{CLIENTARY_API_KEY}}" \
-H "Accept: application/json" \
-H "Content-Type: application/json" \
-d '{"estimate": {"number": {{$number}}, "date": "{{$date}}", "currency_code": "{{$currency_code}}", "estimate_items_attributes": [ {"id": {{$item1_id}}, "_destroy": true}, {"title": "{{$item2_title}}", "quantity": {{$item2_quantity}}, "price": {{$item2_price}}} ]}}'