--- title: pos.customer-details.action.render description: >- A full-screen extension target that renders when a `pos.customer-details.action.menu-item.render` target calls for it api_version: 2025-01 api_name: pos-ui-extensions source_url: html: >- https://shopify.dev/docs/api/pos-ui-extensions/2025-01/targets/customer-details/pos-customer-details-action-render md: >- https://shopify.dev/docs/api/pos-ui-extensions/2025-01/targets/customer-details/pos-customer-details-action-render.md --- # pos.​customer-details.​action.​renderTarget A full-screen extension target that renders when a `pos.customer-details.action.menu-item.render` target calls for it ### Examples * #### Action ##### 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); }); ``` ## Related [- pos.customer-details.action.menu-item.render](https://shopify.dev/docs/api/pos-ui-extensions/targets/pos-customer-details-action-menu-item-render) [- pos.customer-details.block.render](https://shopify.dev/docs/api/pos-ui-extensions/targets/pos-customer-details-block-render) [- Customer API](https://shopify.dev/docs/api/pos-ui-extensions/apis/customer-api)