Bulk Create Orders
starshipit_create_orders_bulkImport multiple orders into StarShipIt in a single API call for batch fulfilment, avoiding repeated individual order creation calls from external systems.
Instructions
Import multiple orders into StarShipIt in a single API call. Use this for batch fulfilment import from external systems.
When to use: Use instead of calling starshipit_create_order in a loop when you have many orders to import at once. More efficient and rate-limit-friendly.
Parameters:
orders(required) — Array of order objects (same shape asstarshipit_create_order). Each must includeorder_numberanddestination.
Returns: Summary of created orders including any per-order failures with error details.
Errors: 400 if any order payload is malformed; 409 if any order number already exists; 401 if API keys invalid.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"orders": "<orders>"
},
"name": "starshipit_create_orders_bulk"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| orders | Yes | Array of order objects to import (each must have order_number and destination) |
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) |