draftOrderDiscountCodeAdd
MutationRuns the draft order discount code add operation. Inspect the payload’s resource and errors before treating the operation as successful.
#
Arguments
- DraftOrderDiscountCodeAddInput!Required
input The values used to perform the draft order discount code add operation.
#
Payload
- DraftOrder
draftOrder The draft order associated with this draft order discount code add payload.
- [DraftOrderDiscountCodeAddError!]
errors User-facing errors that prevented the operation from succeeding.