v4.3.1: Introduce `triggeredByCoupon` property for Effects
Summary
Integration API
Introducing property triggeredByCoupon
on Effect
entities returned from our integration API, which holds the id
of the related coupon.
This should increase observability and allow to make deductions with regard to whether an effect was triggered directly by a coupon.
In order to match the coupon from the property, pass coupons
as part of the responseContent
array passed to the /v2/customer_session
endpoint. Then you would be able to lookup the id
of the returned coupons and match the corresponding one to the property from the new field triggeredByCoupon
.