Menu
Feedback
Start here
Tutorials


Order flow and status
16 min read

The order flow describes the status, possibilities, and actions throughout the life cycle of an order. With the flow, retailers can also track the mapped order status on the platform.

This article will present the following information:

Learn how to track an order flow in the article Order tracking.

Flow types

There are four possible order flows on the VTEX platform:

For incomplete orders, check out the article How incomplete orders work to understand their flow and cancellation.

Marketplace flow

{"base64":"","img":{"width":987,"height":451,"type":"png","mime":"image/png","wUnits":"px","hUnits":"px","length":32425,"url":"//images.ctfassets.net/alneenqid6w5/5XrrV8mQNzqESn0XKJHJW7/315b6d8c70b8631d2be02c4dd659af98/pedido_marketplace_en.png"}}

The marketplace flow is integrated with the seller flow. When an order delivered by an external seller (which is not the main seller) is finalized, this is the flow visible to the marketplace:

  1. Starts with the status Waiting for seller confirmation and automatically switches to the status Payment pending. Since the marketplace is responsible for receiving payment, there are two possible upcoming statuses:
    • If the marketplace receives the payment: The status changes to Payment approved.
    • If the marketplace does not receive the payment: The order cancellation process is initiated, and the status changes to Canceling.
  2. Once the payment has been approved and the grace period for cancellation (stage visible to the seller) has expired, the marketplace must wait for the seller to start handling the order. This is an active action indicating that the seller has started preparing the order packages. If the seller does not perform this action, the order remains in the status Ready for handling.
  3. Once the seller confirms the order handling, the marketplace order status can remain as Verifying invoice if there are any errors. Check out the most common reasons for the order to remain in this status. Remember that if the order is only partially invoiced, its status may go back to Payment approved, and the retailer must add the invoices correctly. The total sum of the invoices must equal the total order value.
  4. After confirming the order handling, the order is prepared for shipping by the seller.
  5. When the seller adds the invoices correctly, the status changes to Invoiced. This status means that the purchase transaction has been successfully completed, and you can no longer change the order status. The payment is settled when the order is at this status.
  6. The seller must complete the fulfillment process.

Learn how to identify orders from marketplaces in the article Viewing marketplace orders in All Orders.

Seller flow

{"base64":"","img":{"width":1197,"height":439,"type":"png","mime":"image/png","wUnits":"px","hUnits":"px","length":36587,"url":"//images.ctfassets.net/alneenqid6w5/wAez6nwupt5Fw7OosaTUH/9cc2dbb00ed43160d6e4699594107b22/pedido_fluxo_seller_en.png"}}

This is the order flow visible to the store responsible for shipping the order products. In this case, the order was placed through another store (online marketplace), and the seller flow starts once the order is confirmed.

  1. When the seller receives the order, its initial status is Order accepted.
  2. Then the order status automatically changes to Waiting for fulfillment authorization. This is a waiting status for the marketplace to indicate that the order payment has been confirmed.

The platform allows you to manually change the status Waiting for fulfillment authorization by clicking Authorize fulfillment. However, when the seller does that manually, it does not necessarily mean that the marketplace has authorized the order fulfillment, which can lead to a mismatch of information. So use this option with caution. We recommend using it only if the marketplace has authorized the order fulfillment.

  1. The status automatically changes to Cancellation window. The order will remain at this status until the cancellation window is closed.

The Cancellation window allows the customer to cancel the purchase without the store's approval, within a period of time previously configured by the store. After this period, the store must authorize the customer's cancellation request.

  1. At this stage, there are two possible statuses:
    • Order not canceled: If the cancellation window period expires and the customer does not request the purchase cancellation, the status changes to Ready for handling. This status indicates to the seller that they can begin handling the order for delivery.
    • Canceled order: If the customer has requested the order cancellation within the grace period, the order status will change to Canceling.
  2. The order will remain in the status Ready for handling until the seller changes it by confirming they have started the order handling. The seller can confirm it manually in the Admin, or via ERP API integration using the Start handling order request.

By confirming the order handling, the seller takes responsibility for reserving the order items. From that moment on, if there are any updates in the inventory, the VTEX platform dismisses these SKUs' reservation. Therefore, update the inventory only after the order has been invoiced. By doing so, you avoid inventory discrepancies in the integration with your store's backoffice.

  1. Once the order is handled, it is time to invoice it. You have to add the invoice to the platform to move to the next stage. In case there are any errors, the order status can remain at Verifying invoice. Check out the most common reasons for the order to remain in this status. Remember that if the order is only partially invoiced, its status may go back to 'Payment approved', and the retailer must add the invoices (the sum of which corresponds to the total value of the order).
  2. The last status of this flow is Invoiced. After that, the seller must deliver the order.

Please note that: The order can be canceled at various stages of the order flow, either by the customer or the store. In this case, once requested, the cancellation process occurs automatically, as well as the order refund to the customer. The cancellation process is finished when the order status is Canceled. Sellers have the autonomy to manually change the order status when the order is Waiting for fulfillment authorization. In this case, the seller assumes the responsibility of delivering the order without the marketplace confirmation and without receiving the order payment. If the order status has been changed manually, it is the seller's responsibility to check whether the order is ready for handling and the payment has been confirmed.

Complete flow

{"base64":"","img":{"width":1368,"height":429,"type":"png","mime":"image/png","wUnits":"px","hUnits":"px","length":44386,"url":"//images.ctfassets.net/alneenqid6w5/hQ09aEM1eaW28N7TRG0PY/4dffff0e3ad8bd51e4bdcacb14a10b50/pedido_fluxo_completo_en.png"}}

The complete order flow is visible to the store that sells and delivers the order. It is composed of the marketplace flow followed by the seller flow.

  1. The initial stage of the order flow is Waiting for seller confirmation, to indicate the seller has received the order.
  2. The order automatically moves to the Payment pending status.
  3. The system waits for the payment confirmation and changes the status to one of the following:
    • The order payment is approved: The order status changes to Payment approved and then Cancellation window. This status delimits the customer's grace period to cancel the purchase without the store's approval. The order will remain in this status until the end of the period configured.
    • The payment of the order is not approved: The platform initiates the cancellation process. This happens automatically as the order status goes from Payment denied to Canceling. Once the platform completes the cancellation, the status changes to Canceled, which is the last stage of the flow. With the payment approved and the cancellation window expired, the order status changes to Ready for handling.
  4. This status shows the retailer that the payment has been confirmed, and they can start handling the order. The store must confirm the order handling has started for the order to advance in the flow. This confirmation can be done manually in the Admin or via an ERP API using the Start handling order request.

By confirming the order handling, the seller takes responsibility for reserving the order items. From that moment on, if there are any updates in the inventory, the VTEX platform dismisses these SKUs' reservation. Therefore, update their inventory only after the order has been invoiced. By doing so, you avoid inventory discrepancies in the integration with your store's backoffice.

  1. Once the order handling starts, the order status changes to Handling shipping and the next step is to invoice the order. The system waits for the invoice with status Verifying invoice. You must add the invoice that corresponds to the total value of the order.
  2. Once this is done, the order status changes to the last status, which is Invoiced and the store must ship the order.

The retailer can cancel orders only before they have been Invoiced. Once invoiced, the customer can return items, but no longer change the order. Check out the articles How to cancel orders and Order cancellation requested by the customer to learn more about order cancellation from a store and customer perspectives.

Order cancellation

Orders can be canceled for several reasons. Each type of cancellation is indicated by a different stage in the order flow:

  • Incomplete orders: When the order is incomplete, the order flow cannot start. This prevents the seller from handling items and, consequently, no reservation of the inventory is made.
  • Customer cancellation request: The customer cancels the order within the grace period or requests the order cancellation to the store. The order items are not reserved when the cancellation occurs within the grace period. However, the items will be reserved if the cancellation occurs after the order has been handled (after the Start handling status).
  • Order cancellation by the store: When the seller or marketplace cancels the order.

Once there is a request to cancel an order, the platform processes the order cancellation automatically. The payment refund to the customer depends on the stage the payment is at and the payment method used.

Orders with partial invoices cannot be canceled. If the customer wants to replace or remove items from the order, it is possible to change the order.

Learn more about cancellation and refunds in the articles Why was my cancelled order charged in the customer's invoice?, and Refund or cancellation.

While the cancellation is being processed, the order status remains at Canceling. The order status changes to Canceled when the cancellation is complete.

Note that when the cancellation occurs before the store starts handling the order, the items have the reservation cancelled in inventory. However, if the cancellation is made after this stage, the items will already be reserved in the inventory. So the store must update the number of items in stock. This will make the order SKUs available for sale again.

Learn more about order cancellation in the article Why was my order cancelled?.

Chain flow

{"base64":"","img":{"width":987,"height":451,"type":"png","mime":"image/png","wUnits":"px","hUnits":"px","length":32425,"url":"//images.ctfassets.net/alneenqid6w5/1H891HnUzdCfoEVuO3Ry3Q/7617928cd9328c928ecd09d05b08af2e/pedido_fluxo_chain_en.png"}}

The order flow seen by the intermediate store in a Multilevel Omnichannel Inventory is similar to the marketplace order flow, except for receiving the payment for orders. In the Payment pending stage, instead of the chain receiving payment directly from the gateway, the marketplace informs the chain it has received the payment confirmation.

Important notes

  • Incomplete orders: All orders are considered incomplete at the beginning of the flow. Orders are completed at the last stage of the purchase. If the order does not proceed to the last stage, there may have been an issue during payment (external to VTEX) or missing data.
  • Orders can be changed until they start to be invoiced. Learn more about changing and replacing items in the articles Order replacement and Changing items from a completed order.
  • If the customer requests an order cancellation and the retailer denies it, the order can proceed to the Payment pending status.
  • For order flows at the stage Ready for handling, the store must actively confirm the information for the order to advance in the flow.
  • The number of items in stock is updated automatically. Learn more about product reservation and inventory updates in the article How the reservation works.

Order status details

Here is a table with more details about each order status. The table is divided into the following columns:

  • Status (Orders management): Status identified in the Admin.
  • Status (API): Status identification via API.
  • Viewed by: The flow in which the status is visible (marketplace, seller, chain, and complete).
  • Meaning: The detailed status meaning.

Note that the complete order flow (visible to the stores responsible for selling and delivering orders) matches the marketplace and seller flows. Some statuses are visible via API, but not in the order flow in All Orders module.

The statuses marked with asterisks (*) in the table do not allow modification or cancellation because the platform changes them automatically.

Contributors
3
Photo of the contributor
Photo of the contributor
Photo of the contributor
+ 3 contributors
Was this helpful?
Yes
No
Suggest Edits (GitHub)
Filtering orders on All Orders
« Previous
How incomplete orders work
Next »
Contributors
3
Photo of the contributor
Photo of the contributor
Photo of the contributor
+ 3 contributors
On this page
Still got questions?
Ask the community
Find solutions and share ideas in the VTEX community.
Join our community
Request support from VTEX
For personalized assistance, contact our experts.
Open a support ticket
GithubDeveloper portalCommunityFeedback