Anchor to DiscountCodeAppUpdatePayloadDiscount
payloadDiscount Code App Update Payload
Return type for mutation.
Anchor to FieldsFields
- Anchor to codeAppDiscountcode•Discount
App Discount Code App The updated discount that the app provides.
- Anchor to userErrorsuser•[Discount
Errors User Error!]! non-null The list of errors that occurred from executing the mutation.
Was this section helpful?
Anchor to Mutations with this payloadMutations with this payload
- •mutation
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.
Was this section helpful?