Hi friends,
We're working on implementing pricing rules and promo codes on our custom site. Trying to determine what API call to use to determine if a rule applied, like how we can see the 'R' or 'Q' status in the application. Is there anything that you've found that returns those values, or something else that returns when a rule works that we can key messaging off of? It looks like we could use Web/Cart/{sessionKey}/Messages?messageTypes={messageTypes} and add a 'TNEW CART' message to each pricing rule. Then either display that message verbatim or use that value to trigger custom content stored in our CMS.
How do y'all determine that a rule applied on your sites?Thanks!
Amanda
You don't need to make a separate call to Web/Cart/{sessionKey}/Messages?messageTypes={messageTypes}. You can save a call and just get them when you get the cart /TessituraService/Web/Cart/{sessionKey}?messageTypes={messageTypes}. We did it the /Messages way first and realized it was redundant.
You can add a custom message type in the TR_PRICING_RULE_MESSAGE_TYPE table. We created one for "Web Cart". So you can show different message for the web vs the client
Ah, nice, thanks!
We love to save all the calls we can :) Thanks!