Create or update a batch of orders
documentedBatch-create or batch-update orders.
POST /v2/{account_id}/orders/batchesBatch APIno 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.getdrip.com/v2/{{$account_id}}/orders/batches" \
-X POST \
-H "Content-Type: application/json" \
-H "Accept: application/json" \
-u {{GETDRIP_API_KEY}}: \
-d '{"batches":[{"orders":[{"provider":"{{$provider}}","email":"{{$email}}","upstream_id":"{{$upstream_id}}","identifier":"{{$order_identifier}}","amount":{{$amount}},"currency_code":"{{$currency_code}}","occurred_at":"{{$occurred_at}}"}]}]}'