Anchor to DiscountCodeAppUpdatePayloadDiscount
DiscountCodeAppUpdatePayload
payload
Return type for mutation.
Anchor to FieldsFields
- Anchor to codeAppDiscountcode•
App Discount The updated discount that the app provides.
- Anchor to userErrorsuser•
Errors [DiscountUser non-nullError!]! 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?