Post-purchase extensions configuration
When you create a post-purchase extension, the
shopify.ui.extension.toml file is automatically scaffolded in your extension directory. This guide describes the properties that you can configure in
How it worksAnchor link to section titled "How it works"
You define properties for your extension in the extension configuration file. The
shopify.ui.extension.toml file contains the extension's settings, which include the extension name and metafields.
When an extension is published to Shopify, the contents of the configuration file are pushed alongside the extension.
Anatomy of a configuration fileAnchor link to section titled "Anatomy of a configuration file"
The following example shows the properties in the
||Yes||The type of extension. For checkout post-purchase extensions, this value is always
||Yes||The name of the checkout post-purchase extension.|
||Yes||The metafields that your extension needs to read.
You can specify up to five