Create a transaction
documentedCreates a new sale or refund transaction.
POST /transactionsCoreno 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://{{$account_name}}.quadernoapp.com/api/transactions.json" \
-X POST \
-u "{{QUADERNO_API_KEY}}:x" \
-H "Accept: application/json; api_version=20241028" \
-H "Content-Type: application/json" \
-d '{ "type": "{{$type}}", "currency": "{{$currency}}", "custom_metadata": {{$custom_metadata}}, "customer": {{$customer}}, "date": "{{$date}}", "items": {{$items}}, "shipping_address": {{$shipping_address}}, "evidence": {{$evidence}}, "payment": {{$payment}}, "processor": "{{$processor}}", "processor_id": "{{$processor_id}}", "po_number": "{{$po_number}}", "notes": "{{$notes}}", "tags": "{{$tags}}", "exchange_rate": {{$exchange_rate}} }'