--- title: pos.customer-details.action.menu-item.render description: >- Renders a single interactive button component as a menu item in the customer details action menu. Use this target for customer-specific operations like applying customer discounts, processing loyalty redemptions, or launching profile update workflows. Extensions at this target can access the customer identifier through the Customer API to perform customer-specific operations. Menu items typically invoke `api.action.presentModal()` to launch the companion modal for complete customer workflows. 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-menu-item-render md: >- https://shopify.dev/docs/api/pos-ui-extensions/2025-07/targets/customer-details/pos-customer-details-action-menu-item-render.md --- # pos.​customer-details.​action.​menu-item.​render Renders a single interactive button component as a menu item in the customer details action menu. Use this target for customer-specific operations like applying customer discounts, processing loyalty redemptions, or launching profile update workflows. Extensions at this target can access the customer identifier through the Customer API to perform customer-specific operations. Menu items typically invoke `api.action.presentModal()` to launch the companion modal for complete customer workflows. ### Examples * #### Create a customer details action menu item ##### Description Add an interactive menu item to the customer details action menu for customer-specific operations. This example shows how to create a menu item that accesses customer data and launches modal workflows for tasks like applying discounts, processing loyalty redemptions, or updating customer profiles. ##### React ```tsx import React from 'react'; import { reactExtension, Button, useApi, } from '@shopify/ui-extensions-react/point-of-sale'; const ButtonComponent = () => { const api = useApi<'pos.customer-details.action.menu-item.render'>(); return