-
Notifications
You must be signed in to change notification settings - Fork 56
PROMO-1368 update API to use coupon_overrides_other_promotions #1213
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: main
Are you sure you want to change the base?
Conversation
a49358e
5f1660d to
8ae5905
Compare
1eccf0d to
eb245bb
Compare
1bfc3d8 to
e9f32d9
Compare
donald-nguyen-bc
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
👍
9089882 to
9f61d12
Compare
reference/promotions.v3.yml
Outdated
| schema: | ||
| $ref: '#/components/schemas/ErrorResponse' | ||
|
|
||
|
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
this extra line probably not needed
reference/promotions.v3.yml
Outdated
| count, | ||
| per_page, | ||
| links | ||
| ] |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
🍹
I'm not aware of this specific syntax for list, does it work?
Commonly multiple lines list is defined with dashes:
required:
- count
- per_page
- links
reference/promotions.v3.yml
Outdated
| type: boolean | ||
| example: false | ||
| default: false |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
the extra empty space probably not needed
reference/promotions.v3.yml
Outdated
| - CHECKOUT_PAGE | ||
| items: | ||
| type: string | ||
| type: string |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
also don't need the extra empty spaces
| codes: | ||
| $ref: '#/components/schemas/CouponCode' |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
👏
donald-nguyen-bc
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
👍
267cc06
267cc06 to
7670ec9
Compare
update to coupon_overrides_other_promotions
7670ec9 to
6e79918
Compare
PROMO-1369
What changed?
update API to use coupon_overrides_other_promotions in requests when create or update promotions
deprecate coupon_overrides_automatic_when_offering_higher_discounts
Release notes draft
Anything else?
ping @bigcommerce/team-promotions