...
The problem start here, because the attribute metadata
contains { configId: ‘7bf2c11c-ec68-4d44-abd3-597b3967fcef' }
, this value is for loyalty code types, in other words, this return is worng, should be return an offerId
attribute.
...
Possibility Solution:
As CBA promo code is deprecated, We will need to change the frontend flow to send loyaltyId
instead of cognitoId
.
Code Block |
---|
Code Block |
---|
Configuration Promo code
...