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

# Customer - Orders

> View complete order history and purchasing patterns for a customer

export const viewAccessDefinition = "Read-only access without ability to make changes.";

export const editAccessDefinition = "Update and read data, but cannot create or delete.";

export const manageAccessDefinition = "Create, update, read, and delete data.";

export const permissionsDefinition = "The actions you are authorized to perform.";

export const visibilityDefinition = "Which features, sections, or data tables are visible to you.";

export const userRoleDefinition = "What a user can see and do. Each user has one built-in system role — Owner, Admin, Manager, or Member — and can also be assigned any number of custom roles you create with specific permissions. Effective access is the combination of all their roles.";

<Frame caption="Customers > [Customer] > Orders">
  <img src="https://mintcdn.com/twicecommerce/Ab7tx7ih94KQsi0k/images/customer-orders-tab.webp?fit=max&auto=format&n=Ab7tx7ih94KQsi0k&q=85&s=14f549ccd8219ddc9f79fb4fbf722d81" alt="Customer orders tab showing order history" width="1920" height="1080" data-path="images/customer-orders-tab.webp" />
</Frame>

<Info>
  This view can look different dependent on your user role. <br />See [Visibility & Permissions](#visibility-and-permissions) for details.
</Info>

<Card title="Open in TWICE Admin" icon="external-link" href="https://admin.twicecommerce.com/customers" horizontal>
  customers/\[customer-id]/orders
</Card>

## Primary Purpose

The Orders tab displays the complete order history for a customer, enabling relationship management and insights.

<AccordionGroup>
  <Accordion title="View Order History">
    See all past and current orders with dates, statuses, and total values.
  </Accordion>

  <Accordion title="Analyze Purchase Patterns">
    Identify favorite products, rental frequency, average order value, and seasonal trends.
  </Accordion>

  <Accordion title="Track Lifetime Value">
    Calculate total revenue generated by the customer across all orders.
  </Accordion>

  <Accordion title="Quick Order Access">
    Jump directly to any order for detailed review or to address customer inquiries.
  </Accordion>
</AccordionGroup>

## Related Concepts

Here are a few key concepts of TWICE Commerce that relate to Customer Orders.

<AccordionGroup>
  <Accordion title="Customer Lifetime Value">
    Order history enables calculation of CLV metrics for marketing and retention strategies.
  </Accordion>

  <Accordion title="Repeat Customers">
    Track rental frequency and repeat purchase behavior to identify loyal customers.
  </Accordion>
</AccordionGroup>

## Visibility and Permissions

Access to this view is controlled by your <Tooltip tip={userRoleDefinition}>user role</Tooltip>.

<Tabs>
  <Tab title="Visibility" icon="eye">
    | Feature           | Admin | Manager | Member |
    | ----------------- | ----- | ------- | ------ |
    | Order History     | ✓     | ✓       | ✓      |
    | Financial Details | ✓     | ✓       | ✗      |
    | Analytics         | ✓     | ✓       | ✗      |
  </Tab>

  <Tab title="Permissions" icon="key">
    | Resource    | Admin  | Manager | Member |
    | ----------- | ------ | ------- | ------ |
    | View Orders | Manage | Manage  | View   |
    | Export Data | Manage | Edit    | View   |
  </Tab>
</Tabs>
