Update Order
starshipit_update_orderUpdate an existing unshipped StarShipIt order by patching only the fields you provide—such as items, packages, carrier, shipping method, or destination—before a label is printed.
Instructions
Update an existing unshipped order in StarShipIt. Only fields provided in the payload will be updated; others remain unchanged (partial patch semantics).
When to use: Use to correct order data, change carrier or shipping method, update the destination address, or add/replace items/packages before a label is printed.
Parameters (all under order object):
order_id(required) — StarShipIt internal order ID to updateAll other fields from
starshipit_create_orderare optional
Returns: Updated Order object.
Errors: 400 if payload is invalid; 404 if order not found; 409 if order is already shipped (cannot update shipped orders); 401 if API keys invalid.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| order | Yes | Order fields to update — must include order_id; all other fields are optional |
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) |