Update an existing order
PATCH/v2/orders/id/:id
Updates an existing order with new information using partial update semantics.
Only provided fields in the request body will be updated - existing values are preserved for omitted fields. This allows for flexible order modifications without requiring the complete order object.
Supported update operations include:
- Customer information and contact details
- Order status and type changes
- Payment information updates
- Shipping method and address modifications
- Order item quantity and pricing adjustments
- Custom fields and metadata updates
- Currency and language preferences
The response includes the complete updated order object with recalculated totals and updated timestamps.
Request
Responses
- 200
- 400
- 401
- 403
- 404
- 500
Order updated successfully
Invalid order data or validation errors
Authentication required - invalid or missing access token
Insufficient permissions to update this order
Order not found with the specified ID
Internal server error during order update