> ## Documentation Index
> Fetch the complete documentation index at: https://docs.dema.ai/llms.txt
> Use this file to discover all available pages before exploring further.

# Order visibility

> Which orders count in your reports: the order visibility setting for order types (show only, show all types except) and order statuses, what each Shopify order status means, cancelled and unfulfilled orders, orders missing from reports, and when a change applies.

Order visibility decides which orders count in your reports. An order counts when the setting allows both its order type and its order status. Orders that don't count are left out of every report.

> [card] [Order types](#order-types)
>
> Which types of orders count

> [card] [Order statuses](#order-statuses)
>
> Which order statuses count

> [card] [When changes apply](#when-changes-apply)
>
> Past and future reports

***

## Viewing the setting

You can see your setting under **Settings → Order visibility**. It's read-only there. To change it, contact your Customer Success Manager. The setting is chosen when your account is set up, and one setting covers every storefront in your account.

***

## Order types

The setting holds a list of order types to show and a list of order types to hide. The settings page shows the result as one of three modes:

| Mode | When | Orders that count |
| - | - | - |
| **Show only** | Types to show are listed, none hidden | Orders of the listed types |
| **Show all types except** | Types to hide are listed | Orders of every type except the hidden ones |
| **Show all types** | Neither list is set, or only `EXCLUDED` is hidden | Orders of every type |

When any type is hidden, the list of types to show is ignored, and the settings page marks it as ignored.

Orders with the type `EXCLUDED` never count, whatever the setting. For Shopify, an order gets this type from an [order exclusion](https://docs.dema.ai/integrations/ecommerce/shopify-order-settings.md#order-exclusions). See [order types](https://docs.dema.ai/integrations/ecommerce/shopify-order-settings.md#order-types) for how the other types are set.

> [!TIP]
>
> Under **Show only**, orders of a new type, for example from a new sales channel, don't count until the type is added to the list. Under **Show all types except**, they count straight away.

***

## Order statuses

Only orders with a listed status count. At least one status is always listed. For Shopify orders, the status comes from the order's fulfillment:

| Status | Meaning for Shopify orders |
| - | - |
| `PENDING` | Open, unfulfilled or restocked |
| `IN_PROGRESS` | In progress, on hold, partially fulfilled, pending fulfillment or scheduled |
| `COMPLETED` | Fulfilled |
| `CANCELLED` | Cancelled, or the fulfillment request was declined |
| `UNKNOWN` | No fulfillment status, or one Dema doesn't recognize |

When a Shopify order isn't cancelled as a whole but some units on a line are, Dema splits the line. The cancelled units get the status `CANCELLED`. The remaining units keep the order's status, or get `COMPLETED` when the order's status is `UNKNOWN`. Each part counts only if its status is listed.

For other platforms and file imports, the status comes from your order data.

***

## When changes apply

A change applies straight away to every report, including past periods. Nothing is reprocessed: reports check the setting each time they load.

Marketing costs entered manually as an amount per order or as a percentage of sales are the exception. They follow the new setting from their next daily import, and earlier days keep the costs they had.

***

## Good to know

> [accordion] Orders seem to be missing from reports
>
> Check your order visibility setting against the orders you expect to see:
>
> * **A new order type isn't listed.** Under **Show only**, orders from a new sales channel or app often get a new type. See the tip under [order types](#order-types).
> * **Unfulfilled orders don't count.** If only `COMPLETED` is listed, orders that are `PENDING` or `IN_PROGRESS` don't count.
> * **The order is excluded.** Orders of type `EXCLUDED` never count. Check your [order exclusions](https://docs.dema.ai/integrations/ecommerce/shopify-order-settings.md#order-exclusions).

> [accordion] Show all types, with visible types ignored
>
> If `EXCLUDED` is the only hidden type and types to show are also listed, the settings page shows **Show all types** and notes that the visible types are ignored because `EXCLUDED` is a hidden type. Every order type counts, except `EXCLUDED`.

> [accordion] Order type names in reports
>
> If Dema has renamed order types in reports for your account, the setting still uses the original names, such as `ONLINE`.

***

## Need help?

> [card] Contact support
>
> Email us at [support@dema.ai](mailto:support@dema.ai) for further assistance

> [card] [Shopify order settings](https://docs.dema.ai/integrations/ecommerce/shopify-order-settings.md)
>
> How Shopify orders get their type


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.