Clone order
documentedCreates a new draft order by duplicating an existing order.
POST /v2/orders/cloneOrdersno 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://connect.squareup.com/v2/orders/clone" \
-X POST \
-H "Square-Version: {{$square_version}}" \
-H "Authorization: Bearer {{OAUTH2_ACCESS_TOKEN}}" \
-H "Content-Type: application/json" \
-H "Accept: application/json" \
-d '{"order_id": "{{$order_id}}", "version": {{$version}}, "idempotency_key": "{{$idempotency_key}}"}'