Batch Update Orders
starshipit_batch_update_ordersAssign the same carrier or shipping service product to multiple StarShipIt orders in one call, useful for bulk reassigning services after rate changes or during fulfilment.
Instructions
Apply the same carrier or shipping service product to a batch of orders in StarShipIt. Use this to reassign carrier/service for multiple orders in a single call.
When to use: Use when you want to reassign the same carrier or product code across many orders at once — e.g. after a carrier rate change or when bulk-selecting a service level in your fulfilment workflow.
Parameters:
order_ids(required) — Array of StarShipIt order IDs to update (must not be empty)product_code(optional) — Carrier service product code to assign (e.g."AUS_PARCEL_REGULAR")carrier_id(optional) — Carrier identifier string to assign
At least one of product_code or carrier_id should be provided alongside order_ids.
Returns: Confirmation of how many orders were updated.
Errors: 400 if order_ids is empty or payload is invalid; 404 if any order not found; 401 if API keys invalid.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| order_ids | Yes | Array of StarShipIt order IDs to update | |
| carrier_id | No | Carrier identifier to assign to all specified orders | |
| product_code | No | Carrier service product code to assign to all specified orders (e.g. "AUS_PARCEL_REGULAR") |
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) |