Update a saved order
PUT /api/v5/orders/{id}
Updates a saved order. A body containing only “transdirect_order_status” performs a status-only change; otherwise order, buyer and delivery fields are updated. Supplying a courier plus transdirect_order_id links the order to a booking and stores the courier price. Requires an API key.
Parameters
Section titled “ Parameters ”Path Parameters
Section titled “Path Parameters ”Example
88Numeric ID of the saved order.
Request Body
Section titled “Request Body ”object
New order status to set (e.g. “processing”, “completed”, “cancelled”).
object
Transdirect order id to update.
External order reference from the source platform.
Structured delivery recipient details to update.
object
Delivery recipient name.
Delivery recipient email.
Delivery recipient phone number.
Delivery recipient full address.
Delivery recipient name (flat alias of delivery.name).
Delivery recipient email (flat alias of delivery.email).
Delivery recipient phone (flat alias of delivery.phone).
Delivery recipient address (flat alias of delivery.address).
Name of the buyer who placed the order.
Email of the buyer who placed the order.
Short summary of the goods purchased.
Raw serialised goods/line-item data from the source platform.
Source of the order import (e.g. “shopify”, “csv”).
Timestamp the order was purchased (ISO 8601).
Order sale price in AUD.
Courier string_id selected for the order.
Shipping price for the selected courier, in AUD.
Timestamp the order was paid (ISO 8601).
New order status to set (e.g. “processing”, “completed”).
Responses
Section titled “ Responses ”Updated saved order
object
Order record identifier.
Linked Transdirect order id, if any.
Member who owns the order.
Current order status (e.g. “new”, “processing”, “completed”).
External order reference from the source platform.
Short summary of the goods purchased.
Raw serialised goods/line-item data from the source platform.
Source of the order import (e.g. “shopify”, “csv”).
Timestamp the order was imported (ISO 8601).
Timestamp the order was purchased (ISO 8601).
Courier string_id selected for the order.
Timestamp the order was paid (ISO 8601).
Name of the buyer who placed the order.
Email of the buyer who placed the order.
Delivery recipient details for the order.
object
Delivery recipient name.
Delivery recipient email.
Delivery recipient phone number.
Delivery recipient full address.
Timestamp the order was last updated (ISO 8601).
Invalid order id or body
object
Human-readable error message describing why the order request failed.
Missing or invalid API key
Order not found
object
Human-readable error message describing why the order request failed.
Booking-backed order update failed
object
Human-readable error message describing why the order request failed.