--- title: Post-return description: >- The post-return screen appears after merchants complete a return transaction. This screen displays the return summary including returned items, refund amounts, and return reason, providing opportunities for customer service and follow-up actions. api_version: 2025-07 api_name: pos-ui-extensions source_url: html: 'https://shopify.dev/docs/api/pos-ui-extensions/latest/targets/post-return' md: 'https://shopify.dev/docs/api/pos-ui-extensions/latest/targets/post-return.md' --- # Post-return Beta Post-return targets are part of the POS UI extensions [feature preview](https://shopify.dev/docs/api/feature-previews). This feature preview is available on an invite-only basis and requires POS UI extensions version 2025-07 or higher and POS app version 9.31.0 or later. The post-return screen appears after merchants complete a return transaction. This screen displays the return summary including returned items, refund amounts, and return reason, providing opportunities for customer service and follow-up actions. ### Use cases * **Product returns:** Display return reasons, product condition assessments, and restocking instructions. * **Customer follow-up:** Launch feedback collection, refund confirmations, and inventory adjustments. * **Return analytics:** Track return patterns, product quality issues, and satisfaction metrics. * **External integrations:** Connect with inventory management, quality control, and CRM (Customer Relationship Management) systems. ![Post-return targets overview](https://shopify.dev/assets/assets/images/api/pos-ui-extensions/targets-overview-images/post-return-overview-DuSyzM6K.png) *** ## Post-return targets Use these targets for return completion workflows, post-return analytics, or integration with external systems for return processing and follow-up. ### Post-return block target `pos.return.post.block.render` Renders a custom information section within the post-return screen. Use this target for displaying supplementary return data like completion status, refund confirmations, or follow-up workflows alongside standard return details. Extensions at this target appear as persistent blocks within the post-return interface and support interactive elements that can launch modal workflows using `api.action.presentModal()` for more complex post-return operations. Support Components (11) APIs (10) ### Supported components * [Badge](https://shopify.dev/docs/api/pos-ui-extensions/2025-07/ui-components/feedback-and-status-indicators/badge) * [Button](https://shopify.dev/docs/api/pos-ui-extensions/2025-07/ui-components/actions/button) * [Date​Picker](https://shopify.dev/docs/api/pos-ui-extensions/2025-07/ui-components/forms/datepicker) * [Dialog](https://shopify.dev/docs/api/pos-ui-extensions/2025-07/ui-components/feedback-and-status-indicators/dialog) * [Icon](https://shopify.dev/docs/api/pos-ui-extensions/2025-07/ui-components/media-and-visuals/icon) * [Image](https://shopify.dev/docs/api/pos-ui-extensions/2025-07/ui-components/media-and-visuals/image) * [POSBlock](https://shopify.dev/docs/api/pos-ui-extensions/2025-07/ui-components/layout-and-structure/posblock) * [POSBlock​Row](https://shopify.dev/docs/api/pos-ui-extensions/2025-07/ui-components/layout-and-structure/posblockrow) * [Stack](https://shopify.dev/docs/api/pos-ui-extensions/2025-07/ui-components/layout-and-structure/stack) * [Text](https://shopify.dev/docs/api/pos-ui-extensions/2025-07/ui-components/layout-and-structure/text) * [Time​Picker](https://shopify.dev/docs/api/pos-ui-extensions/2025-07/ui-components/forms/timepicker) ### Available APIs * [Action API](https://shopify.dev/docs/api/pos-ui-extensions/2025-07/target-apis/standard-apis/action-api) * [Connectivity API](https://shopify.dev/docs/api/pos-ui-extensions/2025-07/target-apis/platform-apis/connectivity-api) * [Device API](https://shopify.dev/docs/api/pos-ui-extensions/2025-07/target-apis/platform-apis/device-api) * [Locale API](https://shopify.dev/docs/api/pos-ui-extensions/2025-07/target-apis/standard-apis/locale-api) * [Order API](https://shopify.dev/docs/api/pos-ui-extensions/2025-07/target-apis/contextual-apis/order-api) * [Print API](https://shopify.dev/docs/api/pos-ui-extensions/2025-07/target-apis/platform-apis/print-api) * [Product Search API](https://shopify.dev/docs/api/pos-ui-extensions/2025-07/target-apis/standard-apis/product-search-api) * [Session API](https://shopify.dev/docs/api/pos-ui-extensions/2025-07/target-apis/standard-apis/session-api) * [Storage API](https://shopify.dev/docs/api/pos-ui-extensions/2025-07/target-apis/platform-apis/storage-api) * [Toast API](https://shopify.dev/docs/api/pos-ui-extensions/2025-07/target-apis/standard-apis/toast-api) Examples ### Examples * #### Add a post-return block ##### Description Display custom information within the post-return screen as a persistent block. This example shows how to create blocks that show supplementary return data like completion status, refund confirmations, or follow-up workflows with interactive elements. ##### React ```tsx import React from 'react'; import { POSBlock, POSBlockRow, Text, reactExtension, useApi, } from '@shopify/ui-extensions-react/point-of-sale'; const ReturnBlock = () => { const api = useApi<'pos.return.post.block.render'>(); return ( {'Return block extension'} {`Order ID: ${api.order.id}`} ); }; export default reactExtension('pos.return.post.block.render', () => ( )); ``` ##### TS ```ts import { POSBlock, POSBlockRow, Text, extension, } from '@shopify/ui-extensions/point-of-sale'; export default extension('pos.return.post.block.render', (root, api) => { const block = root.createComponent(POSBlock, { action: {title: 'View return details', onPress: api.action.presentModal}, }); const mainText = root.createComponent(Text); mainText.append('Return block extension'); const subtitleText = root.createComponent(Text); subtitleText.append(`Order ID: ${api.order.id}`); const blockMainRow = root.createComponent(POSBlockRow); blockMainRow.append(mainText); const blockSubtitleRow = root.createComponent(POSBlockRow); blockSubtitleRow.append(subtitleText); block.append(blockMainRow); block.append(blockSubtitleRow); root.append(block); }); ``` ### Post-return action (menu item) target `pos.return.post.action.menu-item.render` Renders a single interactive button component as a menu item in the post-return action menu. Use this target for post-return operations like generating return receipts, processing restocking workflows, or collecting return feedback. Extensions at this target can access the order identifier through the Order API to perform return-specific operations. Menu items typically invoke `api.action.presentModal()` to launch the companion [modal](#post-return-action-modal-) for complete post-return workflows. Support Components (1) APIs (10) ### Supported components * [Button](https://shopify.dev/docs/api/pos-ui-extensions/2025-07/ui-components/actions/button) ### Available APIs * [Action API](https://shopify.dev/docs/api/pos-ui-extensions/2025-07/target-apis/standard-apis/action-api) * [Connectivity API](https://shopify.dev/docs/api/pos-ui-extensions/2025-07/target-apis/platform-apis/connectivity-api) * [Device API](https://shopify.dev/docs/api/pos-ui-extensions/2025-07/target-apis/platform-apis/device-api) * [Locale API](https://shopify.dev/docs/api/pos-ui-extensions/2025-07/target-apis/standard-apis/locale-api) * [Order API](https://shopify.dev/docs/api/pos-ui-extensions/2025-07/target-apis/contextual-apis/order-api) * [Print API](https://shopify.dev/docs/api/pos-ui-extensions/2025-07/target-apis/platform-apis/print-api) * [Product Search API](https://shopify.dev/docs/api/pos-ui-extensions/2025-07/target-apis/standard-apis/product-search-api) * [Session API](https://shopify.dev/docs/api/pos-ui-extensions/2025-07/target-apis/standard-apis/session-api) * [Storage API](https://shopify.dev/docs/api/pos-ui-extensions/2025-07/target-apis/platform-apis/storage-api) * [Toast API](https://shopify.dev/docs/api/pos-ui-extensions/2025-07/target-apis/standard-apis/toast-api) Examples ### Examples * #### Create a post-return action menu item ##### Description Add an interactive menu item to the post-return action menu for operations after completing a return. This example shows how to create a menu item that accesses order data and launches modal workflows for tasks like generating return 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 ReturnActionMenuItem = () => { const api = useApi<'pos.return.post.action.menu-item.render'>(); return (