The validateCouponUE mappings allow for validation of coupons
between Sterling Order Management and WebSphere Commerce. When a shopper
adds a manual coupon from Sterling Call Center, validateCouponUE is
implemented to call WebSphere Commerce for
validation of entered coupons against their definitions in WebSphere Commerce.
validateCouponUE RequestvalidateCouponUE request mapping to ValidatePromoCodeBOD
Sterling Order Management API
Path |
WebSphere Commerce Path |
Coupon / @CouponID |
PromoCode / Code |
Coupon /@BuyerUserId |
PromoCode / BuyerIdentifier / ExternalIdentifier/
Identifier |
Coupon /@OrganizationCode |
Use ValueMap.xml to convert it to storeId, then
put the storeId in the service context data |
Coupon / @PricingDate |
PromoCode / PricingDate |
validateCouponUE ResponseValidatePromoCodeBOD response mapping to validateCouponUE
WebSphere Commerce Path |
Sterling Order Management API
Path |
PromoCode / Code |
Coupon /@CouponID |
PromoCode/ Reason / Valid (true/false) |
Coupon /@Valid (Y/N) |
PromoCode / Reason / ReasonCode |
Use ValueMap.xml to convert it to Coupon / @CouponStatusMsgCode |