Skip to content

Conversation

bc-anshumishra
Copy link

@bc-anshumishra bc-anshumishra commented Oct 13, 2025

PROMO-1240

What changed?

  • Added field maximum_allowed_discount_amount to in promotions APIs

Testing

SCR-20251013-lczm SCR-20251013-ldwu SCR-20251013-ledm SCR-20251013-lega

Release notes draft

Anything else?

ping @bc-anshumishra

Comment on lines +1092 to +1093
maximum_allowed_discount_amount:
$ref: '#/components/schemas/MaximumAllowedDiscountAmount'
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
maximum_allowed_discount_amount:
$ref: '#/components/schemas/MaximumAllowedDiscountAmount'
maximum_allowed_discount_amount:
$ref: '#/components/schemas/Money'
description: The maximum monetary value ....

pattern: '[0-9]+(\.[0-9]+)?'
type: string
description: The maximum monetary value that can be applied as a discount. The application of this maximum depends on the discount type`:`
Discount on shipping`:` Maximum discount total applies to ALL shipping destinations combined. Maximum total is divide evenly amongst all shipping destinations.
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

probably can make this PR based on Jasper's PR for shipping discount: #1100 so we can show the proof for shipping discount as well ?

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