Skip to content

Conversation

@jonathanhamel4
Copy link
Contributor

@jonathanhamel4 jonathanhamel4 commented Jan 23, 2026

Background

When doing the discount rejection tutorial, we use the discount template which is set on 2025-04 by default. This means anyone following the tutorial will encounter issues when trying to read enteredDiscountCodes since they are on an outdated version. 2026-01 is when this feature was released.

I tested those changes in Discount Functions Testing and they all compile well after simply changing the api version + schema.

@jonathanhamel4 jonathanhamel4 force-pushed the jh/fix-base-version-for-discount-api branch from 0e79712 to 4c63629 Compare January 23, 2026 16:21
@jonathanhamel4 jonathanhamel4 force-pushed the jh/fix-base-version-for-discount-api branch from 4c63629 to e257766 Compare January 23, 2026 16:21
@jonathanhamel4 jonathanhamel4 merged commit 5a1f385 into main Jan 23, 2026
5 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants