Shopify Draft Order Discount Permission: Fix Quote Handoff Errors
A Shopify draft order that fails when a quote includes a new discount may be hitting a staff-permission boundary, rather than a pricing or currency problem. Shopify’s developer changelog on November 18, 2026 describes a change affecting applications that call the draft-order API while acting as a staff member lacking permission to apply draft discounts.
This is a quote handoff and permission diagnostic guide. For the distinct November 13 currency behavior, see draft-order presentment currency.
What Shopify changed on November 18
The Shopify developer announcement describes current enforcement across supported API versions, not a future deadline. For staff-context calls to draftOrderCreate or draftOrderUpdate without the apply_discounts_to_draft_orders permission, the API rejects attempts to add a code not already present or enable automatic discounts where previously disabled.
For that refusal, the draftOrder result is null and userErrors contains the relevant field. The operation does not save the requested changes. Keeping or removing existing discounts is outside this new rejection behavior. Do not infer success from the absence of a top-level GraphQL error alone.
The announcement specifically describes these two input fields. It is not evidence that all custom price edits, all app authentication contexts, or all quote workflows are affected.
Match the symptom to the correct control
| Symptom | First check |
|---|---|
| No draft returned, field error on discountCodes | Staff context, permission and whether a new code is being added |
| No draft returned, error on acceptAutomaticDiscounts | Whether the call newly enables automatic discounts |
| Draft created but agreed subtotal differs | Pricing, currency and other discounts; not necessarily permissions |
| Existing discount is retained during an edit | Confirm the intended draft persisted |
| Error refers to a different field | Inspect the actual error and inputs rather than guessing this cause |
Shopify’s staff permission reference separately explains draft creation/editing, discount privileges and payment privileges. Apply only the permissions the role needs. A generic administrator role is not the appropriate default response to a single discount refusal.
Separate sales approval from technical permission
Consider an illustrative offer: 20 units at $30, with an approved $60 reduction represented by a discount code. The agreed merchandise subtotal is $540, before shipping and taxes.
The sales manager may have approved the price while the staff account creating the draft cannot apply the code. That is a workflow gap, not authorization to send an invoice for $600 or quietly replace the offer with an arbitrary custom unit price.
Ask the responsible administrator to review the role, or use an authorized discount approver in the documented business process. Do not change credentials to evade a permission check. Read Shopify’s draft-order discount guidance for the controls available in the admin.
Where the quote app fits
Wezy Request Quote, Hide Price supports quote collection and conversion to Shopify draft orders; its listing also describes a negotiation portal. That does not establish which authentication context or discount input a particular app conversion uses. No Wezy production API traces or staff accounts were tested for this guide.
Before sending an invoice, reconcile the accepted quote revision, draft ID, customer, currency, merchandise subtotal and discount representation. An accepted quote is not itself proof that Shopify persisted a draft with the agreed amount.
Proposed test cases for the quote owner and developer
Use a test store and authorized staff roles, not a real customer invoice.
| Case | Expected observation to verify |
|---|---|
| Staff context without permission, adding new code | Documented field refusal; no saved requested update |
| Same context, enabling automatic discounts on a draft that did not accept them | Documented refusal |
| Same context, keeping an existing code | No refusal from this specific rule; other checks may still fail |
| Authorized staff adds approved code | Verify actual saved draft and subtotal |
| Successful HTTP transport with userErrors | Mark operation failed; do not send invoice |
| Quote already represented by adjusted unit price | Verify no duplicate reduction |
Record actual observations rather than assuming every application produces the same response.
Recover without duplicating a draft
After a failed create, first reconcile whether a draft exists for the quote reference. A timeout is different from the explicit permission refusal: the server outcome might be unknown. After a failed update, re-read the existing draft to establish which revision and discounts persisted. Retry only after resolving the error and verifying the correct target. Store sanitized field names and error text internally; do not expose customer addresses, API tokens or discount secrets in a public issue.
An invoice release record should identify the approved revision, discount type, authorized operator, persisted draft ID and verified customer-facing total. If any differs, leave the invoice unsent until reconciled.
For the quote collection and negotiation stage, see Wezy Request Quote on Shopify.