Anchor to discountCodeAppUpdatediscount
discount Code App Update
mutation
Requires access scope.
Updates a code discount, where the discount type is provided by an app extension that uses Shopify Functions. Use this mutation when you need advanced, custom, or dynamic discount capabilities that aren't supported by Shopify's native discount types.
Anchor to Arguments
Arguments
- Anchor to codeAppDiscountcode•
App Discount DiscountCode App Input!required The input fields required to update the discount.
- •ID!required
The ID of the discount to update.
Was this section helpful?
- Anchor to codeAppDiscountcode•
App Discount The updated discount that the app provides.
- Anchor to userErrorsuser•
Errors [DiscountUser Error!]!non-null The list of errors that occurred from executing the mutation.
Was this section helpful?