App block for Thank you/Order Status page

I am writing a shopify app to integrate with a third party API, that allows generating custom PDFs based on the user details provided during checkout. I want to add a download button to the Thankyou and Order status pages.

I tried creating a block with target set to section. But it is now showing up when I click the Add app block button on the Thank you / Order status page customization page.

The AI assistant suggested setting the target to order_status which did not work. How can I create a app block in my theme extensions, that can be added to the thank you / order status pages?

Do I need to use UI Extensions for this?

You will need to build Checkout UI extension.
Please check About Thank you and Order status page customization.

1 Like

Thank you. Will check out the Checkout UI extensions.

1 Like