# RunIt orders and returns

> Understand how online orders, shipments, and returns are sent from Sqquid to RunIt POS.

Source: https://docs.sqquid.com/docs/connections/runit-pos/orders-and-returns/

RunIt supplies products and inventory to Sqquid. In the other direction, Sqquid can send online order activity back to RunIt so the POS reflects the ecommerce operation.

## Online order flow

A typical order follows this path:

1. An order is created on Shopify, Amazon, eBay, Walmart, or another sales Connection.
2. Sqquid imports the order.
3. Sqquid applies the Account's routing rules and assigns items to locations.
4. Sqquid sends the order to RunIt.
5. Fulfillment continues through the workflow configured for the Account.

The originating sales Connection remains associated with the order in Sqquid, while RunIt receives the order information needed for the POS record.

## Order routing

Routing determines which location handles each order item. Configure routing before relying on automatic RunIt order export, especially when the Account has multiple stores or warehouses.

Depending on your Account configuration, routing can consider location rules, inventory availability, priority, geographic behavior, dropshipping, and fallback behavior.

See [Order routing](/docs/how-sqquid-works/order-routing/) for rule types, then [configure and preview assignments in Settings](/docs/app/settings/order-routing/).

## Shipment synchronization

Turn on **Shipment sync** when RunIt should be notified after an order ships through Sqquid.

When it is off, RunIt is not notified by this Connection when the Sqquid order ships.

Shipment synchronization depends on the order having enough RunIt information to identify the corresponding receipt and store. If a shipment fails, check the related order first.

## Return export

Turn on **Export returns** when [returns created through Sqquid fulfillment](/docs/app/orders/returns/#create-a-return) should be sent back to RunIt.

Sqquid exports return quantities and supported financial information against the related RunIt order or receipt. Transfer returns can also create the inventory movements required to place units in the appropriate stores.

:::caution
The original order must have been processed successfully in RunIt before a related return can be exported. Otherwise, Sqquid might not have the RunIt receipt information needed for the return.
:::

## Recommended checks

Before enabling shipment or return export:

- Confirm that online orders are reaching RunIt successfully.
- Confirm that Sqquid locations use the correct RunIt Store IDs.
- Complete a test order through routing and fulfillment.
- Confirm the RunIt receipt before testing a return.
- Review Sqquid synchronization errors after each test.

See [RunIt settings](/docs/connections/runit-pos/settings/) to configure shipment and return behavior.
