I could not find clear information in the docs, but is it possible to access an order metafield (set by another app but in a public namespace) in a Thank you and Order status page - UI Extension
?
From the docs it seems metafields on the order resource are not available: Configuration but maybe I am missing an API here?
You’re able to query Order Metafields using Admin GraphQL API once the order has been created.
Here you can find the Checkout Extensions APIs available:
https://shopify.dev/docs/api/checkout-ui-extensions/2024-07/apis
And here you can find more information about Metafields during and after Checkout:
https://shopify.dev/docs/api/checkout-ui-extensions/2024-07/apis/metafields#standardapi-propertydetail-metafields
Cheers,
Enrique
1 Like
Hey Enrique,
thank you for your answer. But for using the Admin api my extension would require network access and a backend which proxies these requests.
I was hoping that I can somehow query the order metafields (because in the context of the thank you or order status page we have the order created) with the api. But it seems that only the checkout metafields can be read and theses are later stored in the order but the extension api can not read them.