post-purchase-ui-extension
Post-Purchase UI Extension
Component catalog, lifecycle contract, and sandbox rules for @shopify/post-purchase-ui-extensions-react (post-purchase upsell surface, npm 0.13.5, package in maintenance — no newer version exists; the modern <s-*> checkout-extensions SDK has no post-purchase target as of writing).
⚠️ Check every prop against the types
Before you write a component prop, find it in the bundled .d.ts at node_modules/@shopify/post-purchase-ui-extensions-react/build/ts/index.d.ts. Memory invents plausible fake props (spacing="base", Button tone).
NEVER run the shopify skill's search_docs.mjs or validate.mjs for this SDK. Its docs don't cover @shopify/post-purchase-ui-extensions-react. Its polaris-checkout-extensions validator accepts only Polaris web components, so it rejects every post-purchase component (BlockStack, Button, …).
⚠️ Skip if a different surface
- Admin App Home
<s-*>markup → use theshopifyskill, topicpolaris-app-home. - Modern checkout extensions (
@shopify/ui-extensions-react,<s-*>web components) → use theshopifyskill, topicpolaris-checkout-extensions. - Customer account extensions → use the
shopifyskill, topicpolaris-customer-account-extensions.