---
title: pos.customer-details.action.render
description: >-
Renders a full-screen modal interface launched from customer details menu
items. Use this target for complex customer workflows that require forms,
multi-step processes, or detailed information displays beyond what a simple
button can provide.
Extensions at this target have access to customer data through the Customer
API and support workflows with multiple screens, navigation, and interactive
components.
api_version: 2025-07
api_name: pos-ui-extensions
source_url:
html: >-
https://shopify.dev/docs/api/pos-ui-extensions/2025-07/targets/customer-details/pos-customer-details-action-render
md: >-
https://shopify.dev/docs/api/pos-ui-extensions/2025-07/targets/customer-details/pos-customer-details-action-render.md
---
# pos.customer-details.action.render
Renders a full-screen modal interface launched from customer details menu items. Use this target for complex customer workflows that require forms, multi-step processes, or detailed information displays beyond what a simple button can provide.
Extensions at this target have access to customer data through the Customer API and support workflows with multiple screens, navigation, and interactive components.
### Examples
* #### Create a customer details action modal
##### Description
Build a full-screen modal launched from customer details menu items for complex customer workflows. This example demonstrates creating modals with multiple screens and interactive components, enabling forms, multi-step processes, or detailed information displays with full customer data access.
##### React
```tsx
import React from 'react';
import {
Text,
Screen,
ScrollView,
Navigator,
reactExtension,
useApi,
} from '@shopify/ui-extensions-react/point-of-sale';
const Modal = () => {
const api = useApi<'pos.customer-details.action.render'>();
return (
{`Customer ID: ${api.customer.id}`}
);
};
export default reactExtension('pos.customer-details.action.render', () => (
));
```
##### TS
```ts
import {
Navigator,
Screen,
ScrollView,
Text,
extension,
} from '@shopify/ui-extensions/point-of-sale';
export default extension('pos.customer-details.action.render', (root, api) => {
const navigator = root.createComponent(Navigator);
const screen = root.createComponent(Screen, {
name: 'CustomerDetails',
title: 'Customer Details',
});
const scrollView = root.createComponent(ScrollView);
const text = root.createComponent(Text);
text.append(`Customer ID: ${api.customer.id}`);
scrollView.append(text);
screen.append(scrollView);
navigator.append(screen);
root.append(navigator);
});
```