Skip to main content
This guide shows you how to update order details, cancel orders, modify delivery addresses, and understand order status transitions. After creating an order, you may need to modify its details or cancel it before fulfillment completes.

Prerequisites

Before you start, make sure you have:
All API examples in this guide use ${BASE_URL} as a placeholder. Replace it with the correct base URL configured for the correct environment. For more information see Environments page.

Update order details

Update details of a processing order using the PATCH /orders/{orderId} endpoint. You can update the order comment, enable or disable tracking, modify the delivery address, and add custom attributes. The following example shows how to update an order’s comment and custom attributes:
Use this request to update order details:
You can update the following fields:
  • comment: Optional text (max 250 characters) containing fulfillment instructions that the warehouse receives.
  • trackingEnabled: Boolean value to turn tracking on or off. Additional charges apply when set to true.
  • address: Delivery address object. See the Modify delivery addresses section for details.
  • customAttributes: Object for custom key-value pairs that you can use to store additional order metadata.

Modify delivery addresses

Update the delivery address or invoice address of an order using the PUT /orders/{orderId}/address endpoint. You can update the delivery address, invoice address, or both. Use the type query parameter to specify which address to update: DELIVERY, INVOICE, or DELIVERY_AND_INVOICE.
Use this request to update the delivery address:
The type query parameter accepts the following values:
  • DELIVERY: Updates only the delivery address.
  • INVOICE: Updates only the invoice address.
  • DELIVERY_AND_INVOICE: Updates both addresses to the same value.
The following table describes the address fields you can include in the request:

Cancel orders

Request cancellation of an order using the POST /orders/{orderId}/cancelRequest endpoint. Once you cancel an order, fulfillment can’t proceed.
Use this request to cancel an order:

Order status transitions

Orders progress through several statuses during the fulfillment lifecycle. Understanding these statuses helps you determine when you can modify or cancel an order. The following table describes each order status:

Status flow

Orders typically follow this flow:
  • PENDING: Quivo receives the order, but processing does not begin because required information is missing.
  • PROCESSING: Warehouse begins picking and packing items. You can still update order details at this stage.
  • COMPLETED: Warehouse packs the order and hands it over to the carrier. Tracking information becomes available.
  • CANCELLED: You request cancellation and the system processes it. This can happen from PENDING or PROCESSING status.
Once an order reaches COMPLETED or CANCELLED status, you can’t modify or cancel it. Make sure to update order details or request cancellation before the order reaches these final states.

Where to go next

Now that you can manage orders, continue with these guides:

Track an Order

Monitor order status and retrieve tracking information when Quivo ships orders.

Manage Returns

Generate return labels and track returned items when customers need to send products back.