--- title: pos.exchange.post.action.menu-item.render description: >- Renders a single interactive button component as a menu item in the post-exchange action menu. Use this target for post-exchange operations like generating exchange receipts, processing restocking workflows, or collecting exchange feedback. Extensions at this target can access the order identifier through the Order API to perform exchange-specific operations. Menu items typically invoke `api.action.presentModal()` to launch the companion modal for complete post-exchange workflows. api_version: 2025-07 api_name: pos-ui-extensions source_url: html: >- https://shopify.dev/docs/api/pos-ui-extensions/2025-07/targets/post-exchange/pos-exchange-post-action-menu-item-render md: >- https://shopify.dev/docs/api/pos-ui-extensions/2025-07/targets/post-exchange/pos-exchange-post-action-menu-item-render.md --- # pos.​exchange.​post.​action.​menu-item.​render Renders a single interactive button component as a menu item in the post-exchange action menu. Use this target for post-exchange operations like generating exchange receipts, processing restocking workflows, or collecting exchange feedback. Extensions at this target can access the order identifier through the Order API to perform exchange-specific operations. Menu items typically invoke `api.action.presentModal()` to launch the companion modal for complete post-exchange workflows. ### Examples * #### Create a post-exchange action menu item ##### Description Add an interactive menu item to the post-exchange action menu for operations after completing an exchange. This example shows how to create a menu item that accesses order data and launches modal workflows for tasks like generating receipts, processing restocking, or collecting feedback. ##### React ```tsx import React from 'react'; import { Button, reactExtension, useApi, } from '@shopify/ui-extensions-react/point-of-sale'; const ExchangeActionMenuItem = () => { const api = useApi<'pos.exchange.post.action.menu-item.render'>(); return (