Assign User To Order

Assigns a user to an order. The body of this request should specify the following attributes:

Name Data Type Description
orderIds number, required Identifies set of orders that will be assigned the user. Please note that if ANY of the orders within the array are not found, no orders will have a user assigned to them.
userId number, required Identifies the user that will be applied to the orders. It should contain a GUID of the user to be assigned to the array of orders.

Example Request

POST /orders/assignuser HTTP/1.1
Host: https://ssapi.shipstation.com
Authorization: __YOUR_AUTH_HERE__
Content-Type: application/json

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

Example Response

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