Assign Orders
starshipit_assign_ordersReassign StarShipIt orders between accounts with API keys to route orders to the correct fulfilment account.
Instructions
Reassign orders between StarShipIt accounts using API keys. Use this to move orders from one StarShipIt sub-account or warehouse account to another.
When to use: Use in multi-account or multi-warehouse setups where orders need to be routed to a specific fulfilment account after initial import.
Parameters:
orders(required) — Array of assignment instructions, each containing:order_id(required) — The order ID to reassigncurrent_api_key(required) — API key of the account currently holding the ordernew_api_key(required) — API key of the destination account
Returns: Confirmation of how many orders were reassigned.
Errors: 400 if any entry is malformed; 401 if any API key is invalid; 403 if you lack permission to access the source or destination account; 404 if any order not found.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| orders | Yes | Array of order assignment instructions |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| errors | No | Validation or processing errors returned by StarShipIt | |
| object | No | The response payload when StarShipIt returns a non-object value | |
| success | No | StarShipIt success flag (a boolean on most endpoints) |