Hello,
Some of our merchants are encountering a bug: on the order status page, the browser is blocking Storefront API requests made from a Checkout UI extension.
Our current API version is 2025-04.
Hello,
Some of our merchants are encountering a bug: on the order status page, the browser is blocking Storefront API requests made from a Checkout UI extension.
Our current API version is 2025-04.
Hey,
could you share some code on how you’re issuing requests to the storefront api please?
Which extension target are you extending?
Thank you!
Here is my code:
const getDataUsingStorefrontAPI = ({
storefrontUrl,
query,
variables,
}) => {
return fetch(`${storefrontUrl}/api/2025-04/grapql.json`, {
method: 'POST',
headers: {
'Content-Type': 'application/json',
},
body: JSON.stringify({
query,
variables,
}),
}).then(res => res.json());
};
with variable and query to get product data
My extension target is: customer-account.order-status.block.render
Please note that this issue occurs only for some merchants, while others are not affected.
Hi @Robin-Shopify Could you please take a look into this for me? My customer is requesting that we fix this bug as soon as possible.
Hi @Chi_n_Nguy_n_Van - there’s no need to tag individual Shopify staff members. We’ll try to help as quickly as possible.