latestOpenAPI 3.1.0MIT2026-08-104712182.1 KB

c71c20d26559

orders

Assign user to order

Assigns a user to an order. If ANY of the orders within the array are not found, no orders will have a user assigned to them.

post/orders/assignuser

Request body

orderIdsinteger[] required

Array of order IDs to assign

userIdstring required

User GUID to assign to orders

Example request

{
  "orderIds": [
    123456789,
    12345679
  ],
  "userId": "123456AB-ab12-3c4d-5e67-89f1abc1defa"
}

Response

User assigned successfully

successboolean
messagestring

Example response

{
  "success": true,
  "message": "User assigned successfully."
}