developers:apiv2:orders

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
developers:apiv2:orders [2026/09/08 00:06] – chaddevelopers:apiv2:orders [2026/09/28 16:54] (current) – [Routing Orders on Behalf of Another User] frank
Line 75: Line 75:
 ===== Routing Orders on Behalf of Another User ===== ===== Routing Orders on Behalf of Another User =====
  
-Set ''user_id'' to route for another user. Omit it, or leave it empty, to trade as the authenticated user.+Set ''on_behalf_of_user_name'' and/or ''on_behalf_of_user_id'' to route for another user. If setting both user and userid, and you will receive a reject if the userid is not associated with the username. Omit it, or leave it empty, to trade as the authenticated user.
  
 Requirements: Requirements:
Line 92: Line 92:
   market_id:  "XCME_C ZC (H25)"   market_id:  "XCME_C ZC (H25)"
   manual_order_indicator: true   manual_order_indicator: true
 +  on_behalf_of_user_name: "testuser1"
 +  on_behalf_of_user_id: "7f3a9c21-6d84-4e57-b2f1-9a0c5e8d43b6"
  
 orders { orders {
Line 111: Line 113:
   market_id:  "XCME_C ZC (H25)"   market_id:  "XCME_C ZC (H25)"
   manual_order_indicator: true   manual_order_indicator: true
 +  on_behalf_of_user_name: "testuser1" 
 +  on_behalf_of_user_id: "7f3a9c21-6d84-4e57-b2f1-9a0c5e8d43b6" 
 +  
 pulls { pulls {
 unique_id: "a3b1c5f2-7d43-4f9b-88e2-1e2f75c6d9a1" unique_id: "a3b1c5f2-7d43-4f9b-88e2-1e2f75c6d9a1"
  • developers/apiv2/orders.txt
  • Last modified: 2026/09/28 16:54
  • by frank