Assign User To Order

Assigns a user to an order.

Requirements:

  1. You'll need at least one orderId to make this API call.

    To find orderId for your account, make a List Orders call.
  2. You'll need a userId to make this API call.

    To find each userId for your account, make a List Users call.

The body of this request should specify the following attributes:

Name Data Type Description
orderId number, or Array of numbers Required
Identifies the set of orders that will be assigned to the user.
NOTE: 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: 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."
}