Anchor to DiscountCodeBxgyUpdatePayloadDiscount
payloadDiscount Code Bxgy Update Payload
Return type for mutation.
Anchor to FieldsFields
- Anchor to codeDiscountNodecode•Discount
Discount Node Code Node The code discount that was updated.
- 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 buy X get Y discount (BXGY) that's applied on a cart and at checkout when a customer enters a code.
- •ID!required
The ID of the BXGY code discount to update.
- Anchor to bxgyCodeDiscountbxgy•Discount
Code Discount Code Bxgy Input! required The input data used to update the BXGY code discount.
Arguments
- •ID!
Was this section helpful?