If your Shopify app gets an ACCESS_DENIED error from the GraphQL Admin API and its access scopes look right, the cause may not be a missing scope. Three Shopify permission checks can look like a missing scope, and they start on different dates. Shopify announced the draft order discount check on November 18, 2026, and the server pixel update check on November 20, 2026. The abandoned checkout URL check starts on December 1, 2026 for public apps, and on January 1, 2027 for partner custom apps and merchant-created apps in the Dev Dashboard.
Why the error can look like a missing scope
Shopify's GraphQL Admin API puts permission failures in the top level errors array, and the message can name a missing access scope. The draft order example names the write_draft_orders scope and says the user must have access to manage draft orders. It does not name the Apply discounts permission. The server pixel changelog says the error message is the same one you get for a missing access scope, and that it does not mention user access. Check the top level errors array, not only userErrors.
Why draftOrderUpdate can fail when you add a discount
Since Shopify's November 18, 2026 changelog post, draftOrderCreate and draftOrderUpdate return a top level ACCESS_DENIED error when an app acting as a staff member adds a discount and that staff member does not have the apply_discounts_to_draft_orders permission. Shopify's changelog shows this as the Apply discounts permission under Draft orders. The mutations do not save the draft order, and the payload is null. The error does not appear in userErrors. Shopify says this applies in supported API versions. The request is rejected when it adds a discount code that the draft order does not already have, or when it sets acceptAutomaticDiscounts to true on a draft order that does not already accept automatic discounts. For draftOrderCreate, a discountCodes list that is not empty, or acceptAutomaticDiscounts set to true, counts as adding a discount. Keeping or removing a draft order's existing discounts still works. Requests that do not act as a staff member, such as requests made with an offline access token, are not affected. Shopify's example error message for draftOrderUpdate is: Access denied for draftOrderUpdate field. Required access: write_draft_orders access scope. Also: The user must have access to manage draft orders. If your app needs to add discounts, ask the merchant to give the staff member the Apply discounts permission under Draft orders. Shopify's store permissions page also says staff need the Discounts permission to apply discount codes, and that Apply discounts requires the View and Create and edit draft order permissions.
Why eventBridgeServerPixelUpdate can return an access denied error
From November 20, 2026, eventBridgeServerPixelUpdate and pubSubServerPixelUpdate reject an online access token when the staff member does not have access to the app. Shopify says both mutations now require an offline access token, or an online access token for a user who has access to the app. The write_pixels, read_customer_events, and write_server_pixels access scope requirements do not change. When the check fails, the mutation returns an access denied error and no payload, and the server pixel's endpoint stays the same. Shopify says the error message is the same one you get for a missing access scope, so it does not mention user access. The changelog does not quote the exact error text. If your app calls these mutations with online access tokens, make sure the staff member has access to your app in the Shopify admin, or call the mutations with an offline access token, for example from a background job. Handle the access denied error either way. Offline access tokens, and online access tokens for users who have access to the app, work as before. Shopify says the update mutations now make the same user access check that serverPixelCreate and serverPixelDelete already make. It calls this a security fix that applies to GraphQL Admin API versions without a deprecation period.
Why abandonedCheckouts can return data null
From December 1, 2026 for public apps, and from January 1, 2027 for partner custom apps and merchant-created apps in the Dev Dashboard, AbandonedCheckout.abandonedCheckoutUrl and the REST field abandoned_checkout_url require approval for the four protected customer fields: name, email, phone, and address. Those fields map to read_customer_name, read_customer_email, read_customer_phone, and read_customer_address. Approval for only some of them is not enough. Apps already approved for the four fields are not affected. Apps created in the Shopify admin are not affected. Shopify says this applies on supported Admin API versions and unstable. If your GraphQL query selects abandonedCheckoutUrl and the app is not approved, that field returns an ACCESS_DENIED error and the error nulls out the surrounding data. List queries such as abandonedCheckouts return data: null, so you lose the abandoned checkout data in that query, not just the URL. A node or nodes lookup returns null for that checkout. Bulk operations that select the field fail with ACCESS_DENIED after retrying for a few minutes. On the REST Admin API and in webhooks, abandoned_checkout_url is left out of GET /admin/api/{version}/checkouts.json responses and checkouts/create and checkouts/update webhook payloads. There is no error, so your app is not told the field is missing. The rest of the response and payload is unchanged. If your app needs the recovery URL, request access before your date. In the Dev Dashboard, go to your app's Settings, then Access requests, then Protected customer data, then Manage, and select the name, email, phone, and address fields. Partner custom apps and merchant-created apps in the Dev Dashboard can enable these fields themselves, with no review. Public apps need a data protection review before access is granted. Shopify says reviews can take a couple of weeks. If your app reads the field but does not need it, remove abandonedCheckoutUrl from your queries and bulk operations, and make sure your REST or webhook code handles a missing abandoned_checkout_url. Development stores do not enforce protected customer data approval, so you will not see these errors there. Check your app's protected customer data status in the Dev Dashboard. The recovery URL opens the buyer's checkout with their name, email, phone, and address filled in. Shopify says apps without access to those fields already cannot read that data on the AbandonedCheckout object, so the URL now requires the same access.
What to do when you see ACCESS_DENIED
Read the top level errors array first, not only userErrors. Then match the failed field to one of the three cases above. If the path is draftOrderCreate or draftOrderUpdate and the input adds a discount, ask the merchant to grant the staff member the Apply discounts permission under Draft orders. If the path is eventBridgeServerPixelUpdate or pubSubServerPixelUpdate, confirm that the staff member has access to the app in the Shopify admin, or call the mutation with an offline access token. If the query selected abandonedCheckoutUrl, or a REST or webhook payload is missing abandoned_checkout_url, request access to the four protected customer fields before your date, or stop selecting that field. Changing API versions does not avoid these checks.
FAQ
Why does Shopify GraphQL return ACCESS_DENIED when my scopes are right?
A valid access token and the right scopes can still fail a staff permission, a user access check, or a protected customer data rule. Shopify's error message can name a missing scope even when the scopes are already present. Look at which field failed, then check the three cases on this page.
Why does draftOrderUpdate return ACCESS_DENIED when I add a discount?
Since Shopify's November 18, 2026 changelog post, an app acting as a staff member needs the apply_discounts_to_draft_orders permission, shown in the Shopify admin as Apply discounts under Draft orders, to add discount codes or to set acceptAutomaticDiscounts to true. The error is a top level ACCESS_DENIED, the payload is null, and it does not appear in userErrors. The sample message names write_draft_orders, not Apply discounts. Offline access tokens are not affected. Keeping or removing existing discounts still works.
Why does eventBridgeServerPixelUpdate return an access denied error?
From November 20, 2026, that mutation and pubSubServerPixelUpdate reject an online access token when the staff member does not have access to the app. The write_pixels, read_customer_events, and write_server_pixels scopes do not change. Shopify says the error message is the same one you get for a missing access scope. Use an offline access token, or grant that staff member access to the app in the Shopify admin.
Why does an abandonedCheckouts query return data null?
If the query selects abandonedCheckoutUrl and the app is not approved for the four protected customer fields, GraphQL returns ACCESS_DENIED and nulls out the surrounding data. List queries such as abandonedCheckouts then return data: null, so you lose the abandoned checkout data in that query, not just the URL. This starts December 1, 2026 for public apps, and January 1, 2027 for partner custom apps and merchant-created apps in the Dev Dashboard. Apps created in the Shopify admin are not affected. Remove the field or request access.
Do these checks apply only to new API versions?
No. Shopify says the draft order change applies in supported API versions. The server pixel change applies to GraphQL Admin API versions with no deprecation period. The abandoned checkout URL change applies on supported Admin API versions and unstable. Switching versions does not bypass the checks.
Which apps need protected customer data access for the recovery URL, and by when?
Public apps need a data protection review and must have access by December 1, 2026. Partner custom apps and merchant-created apps in the Dev Dashboard can enable the four fields themselves, with no review, and their date is January 1, 2027. Apps created in the Shopify admin are not affected. Development stores do not enforce this approval.
If your app still gets ACCESS_DENIED after you check these three cases, use the contact form at /contact/ and tell us which mutation or field failed and which API version you called.
Related pages
- Shopify API changelog and deprecation timeline
- draftOrderCreate and draftOrderUpdate discount permission
- eventBridgeServerPixelUpdate and pubSubServerPixelUpdate user access
- abandonedCheckoutUrl protected customer data access
Facts on this page were checked against Shopify's developer changelog and help center on November 23, 2026.